book
book copied to clipboard
03.image_classification 报错
Inferencer 配置和预测 代码部分运行报错
ValueErrorTraceback (most recent call last)
/opt/conda/lib/python2.7/site-packages/paddle/fluid/io.pyc in load_inference_model(dirname, executor, model_filename, params_filename, pserver_endpoints) 1079 """ 1080 if not os.path.isdir(dirname): -> 1081 raise ValueError("There is no directory named '%s'", dirname) 1082 1083 if model_filename is not None:
ValueError: ("There is no directory named '%s'", 'image_classification_resnet.inference.model')
根据log可以看出,您的问题首先是load时输入的维度不对,其次您提供的image_classification_resnet.inference.model这个文件夹也不存在。
根据log可以看出,您的问题首先是load时输入的维度不对,其次您提供的image_classification_resnet.inference.model这个文件夹也不存在。
我是按照book 里的代码执行的,请帮忙查看
根据log可以看出,您的问题首先是load时输入的维度不对,其次您提供的image_classification_resnet.inference.model这个文件夹也不存在。
我是按照book 里的代码执行的,请帮忙查看
请您提供参考的book示例的链接。
https://github.com/PaddlePaddle/book/blob/develop/03.image_classification/README.cn.md
另外训练主循环以及过程输出
报错:
NameErrorTraceback (most recent call last)
NameError: global name 'predict' is not defined @shippingwang 用户还遇到的问题,请您帮忙看看哈。