检查检查再检查。
看文件路径是不是少写了后缀名
比如 model.pth.tar你可能就只写了model.pth
粗心大意害死人
os.path.isfile 返回false
猜你喜欢
转载自blog.csdn.net/qxqxqzzz/article/details/107718636
今日推荐
周排行