
你好在运行prdeict.py文件时报错:
:\Anaconda\python.exe "X:/flower-classifier-master 20230117/pytorch-classifier-master/predict.py"
Traceback (most recent call last):
File "X:/flower-classifier-master 20230117/pytorch-classifier-master/predict.py", line 59, in
opt, DEVICE, model, test_transform, label = parse_opt()
File "X:/flower-classifier-master 20230117/pytorch-classifier-master/predict.py", line 31, in parse_opt
raise Exception('best.pt not found. please check your --save_path folder')
Exception: best.pt not found. please check your --save_path folder
Process finished with exit code 1
请问如何解决?感谢
很明显啊,就是你的路径没设置对
没有找到 best.pt 文件,是不是放在其它路径下了?