This commit is contained in:
Glenn Jocher 2019-03-21 22:51:22 +02:00
parent 176851f83a
commit 20beee0c5b
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ if __name__ == '__main__':
parser.add_argument('--multi-scale', action='store_true', help='random image sizes per batch 320 - 608')
parser.add_argument('--img-size', type=int, default=32 * 13, help='pixels')
parser.add_argument('--resume', action='store_true', help='resume training flag')
parser.add_argument('--num_workers', type=int, default=0, help='number of Pytorch DataLoader workers')
parser.add_argument('--num-workers', type=int, default=0, help='number of Pytorch DataLoader workers')
opt = parser.parse_args()
print(opt, end='\n\n')

View File

@ -9,7 +9,7 @@ sudo shutdown
# Start
sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3
cp -r weights yolov3
cd yolov3 && python3 train.py --batch-size 64 --multi_scale
cd yolov3 && python3 train.py --batch-size 16 --num-workers 4
# Resume
python3 train.py --resume