You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
I ran NN on raspberrypi. Please ignored OOM prolem(std::bad_alloc), I wanna fix userWarning. Thanks a lot!
Error Messages
(py-perfblas) yuanshuai@raspberrypi:~/code/mxnet_inference/vgg-16-official-mxnet $ python run_inference.py
[16:42:22] src/nnvm/legacy_json_util.cc:190: Loading symbol saved by previous version v0.8.0. Attempting to upgrade...
[16:42:22] src/nnvm/legacy_json_util.cc:198: Symbol successfully upgraded!
/home/yuanshuai/pyEnv/py-perfblas/local/lib/python2.7/site-packages/mxnet-0.9.5-py2.7.egg/mxnet/module/base_module.py:52: UserWarning: You created Module with Module(..., label_names=['softmax_label']) but input with name 'softmax_label' is not found insymbol.list_arguments(). Did you mean one of:
data
prob_label
warnings.warn(msg)
/home/yuanshuai/pyEnv/py-perfblas/local/lib/python2.7/site-packages/mxnet-0.9.5-py2.7.egg/mxnet/module/base_module.py:64: UserWarning: Data provided by label_shapes don't match names specified by label_names ([] vs. ['softmax_label']) warnings.warn(msg)terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_allocAborted
By Default MxNet network looks for an input with the name 'softmax_label' as the target variable for training. When you built your network by loading the check-point, it was expecting an input 'softmax_label' which you did not provide that hence the warning.
Take a look here: https://github.com/dmlc/mxnet/blob/master/python/mxnet/module/module.py#L31
A probable remedy could be to just supply a dummy variable with the name 'softmax_label'
i'm having the same issue loading vgg16 model and doing a prediction. Where do you suggest I provide the dummy 'softmax_label'? In the model json file? I'm totally new so not familiar with that format.
I ran NN on raspberrypi. Please ignored OOM prolem(
std::bad_alloc
), I wanna fix userWarning. Thanks a lot!Error Messages
Code
The text was updated successfully, but these errors were encountered: