AssertionError: file: '../tulip.jpg' dose not exist.

ALXNET 的predict.py运行时出现:
assert os.path.exists(img_path), "file: '{}' dose not exist.".format(img_path)
AssertionError: file: '../tulip.jpg' dose not exist.

程序在运行时需要读取的图像文件 '../tulip.jpg' 不存在,检查你的路径

不是给出了很具体的错误提示吗“ file: '../tulip.jpg' dose not exist.”

../tulip.jpg 文件不存在,看看是不是路径不对,注意这是相对路径,相对于工程所在目录上的上一级。