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
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.
I just use publish_model.py to remove the optimizer's parameters to decrease the size of checkpoint.
Good luck and Merry Christmas!
我在train.sh里的设置: 求教为什么我无法保存权重,非常感谢