zhengye1995 / Tianchi-2019-Guangdong-Intelligent-identification-of-cloth-defects-rank5

天池2019广东工业智造创新大赛 布匹疵点检测 天池水也太深了 季军解决方案
403 stars 142 forks source link

求助 训练到最后有no such file or directory错误 #5

Closed YuzhouPeng closed 4 years ago

YuzhouPeng commented 4 years ago

捕获 我在train.sh里的设置: 捕获1 求教为什么我无法保存权重,非常感谢

zhengye1995 commented 4 years ago
  1. The checkpoint named latest.pth has been saved in '../data/work_dirs/cascade_rcnn_r50_fpn_70e/latest.pth', you can find this file in this path due to your setting
  2. This error is the publish_model.py can not find this file because your path my be wrong, you can try just run 'publish_model.py' with absolute path.
  3. I just use publish_model.py to remove the optimizer's parameters to decrease the size of checkpoint. Good luck and Merry Christmas!