SpursLipu / YOLOv3v4-ModelCompression-MultidatasetTraining-Multibackbone

YOLO ModelCompression MultidatasetTraining
GNU General Public License v3.0
444 stars 136 forks source link

模型训练结束后继续训练 #64

Closed Note-Liu closed 3 years ago

Note-Liu commented 3 years ago

执行python3 train.py --data data/train.data --batch-size 8 --cfg cfg/yolov3-mobilenet/yolov3-mobilenet-coco3.cfg --resume 报错: File "train.py", line 497, in train print('%g epochs completed in %.3f hours.\n' % (epoch - start_epoch + 1, (time.time() - t0) / 3600)) UnboundLocalError: local variable 'epoch' referenced before assignment 请问是命令行写错了吗?