caffe icon indicating copy to clipboard operation
caffe copied to clipboard

error about app.py

Open wzq12138 opened this issue 11 years ago • 2 comments

I run the python examples/web_demo/app.py

the error is like this E0312 10:49:35.522589 6449 upgrade_proto.cpp:616] Note that future Caffe releases will only support transform_param messages for transformation fields. F0312 10:49:35.604167 6449 net.cpp:713] Check failed: target_blobs[j]->height() == source_layer.blobs(j).height() (9 vs. 1000) *** Check failure stack trace: ***

wzq12138 avatar Mar 12 '15 02:03 wzq12138

ubuntu@tegra-ubuntu:~/caffe$ python examples/web_demo/app.py INFO:root:Loading net and associated files... Traceback (most recent call last): File "examples/web_demo/app.py", line 222, in start_from_terminal(app) File "examples/web_demo/app.py", line 210, in start_from_terminal app.clf = ImagenetClassifier(**ImagenetClassifier.default_args) File "examples/web_demo/app.py", line 125, in init mean=np.load(mean_file), channel_swap=(2, 1, 0), gpu=gpu_mode TypeError: init() got an unexpected keyword argument 'gpu'

wzq12138 avatar Mar 12 '15 03:03 wzq12138

Duplicate of #1937 -- fix is in master from #2058.

shelhamer avatar Mar 12 '15 03:03 shelhamer