updates
This commit is contained in:
parent
176851f83a
commit
20beee0c5b
2
train.py
2
train.py
|
@ -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('--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('--img-size', type=int, default=32 * 13, help='pixels')
|
||||||
parser.add_argument('--resume', action='store_true', help='resume training flag')
|
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()
|
opt = parser.parse_args()
|
||||||
print(opt, end='\n\n')
|
print(opt, end='\n\n')
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ sudo shutdown
|
||||||
# Start
|
# Start
|
||||||
sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3
|
sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3
|
||||||
cp -r weights 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
|
# Resume
|
||||||
python3 train.py --resume
|
python3 train.py --resume
|
||||||
|
|
Loading…
Reference in New Issue