Skip to content

Commit

Permalink
Modify config/create_custom_model.sh: remove unnecessary blank line, …
Browse files Browse the repository at this point in the history
…and avoid appending to the end of existing *.cfg file by mistake.
  • Loading branch information
zjuyzj committed Sep 8, 2023
1 parent dd8c507 commit 4c08cf5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions config/create_custom_model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

NUM_CLASSES=$1

echo "
[net]
echo "[net]
# Testing
#batch=1
#subdivisions=1
Expand Down Expand Up @@ -790,5 +789,4 @@ num=9
jitter=.3
ignore_thresh = .7
truth_thresh = 1
random=1
" >> yolov3-custom.cfg
random=1" > yolov3-custom.cfg

0 comments on commit 4c08cf5

Please sign in to comment.