mxnet-face icon indicating copy to clipboard operation
mxnet-face copied to clipboard

Unable to perform Attribute Detetction

Open mridulbirla opened this issue 7 years ago • 8 comments

The attribute prediction script is failing at the following lline( I have downloaded the model).

_, arg_params, aux_params = mx.model.load_checkpoint(args.model_load_prefix, args.model_load_epoch)

Traceback (most recent call last): File "predict.py", line 83, in main() File "predict.py", line 14, in main _, arg_params, aux_params = mx.model.load_checkpoint(args.model_load_prefix, args.model_load_epoch) File "/home/mridul/anaconda3/lib/python3.5/site-packages/mxnet/model.py", line 372, in load_checkpoint symbol = sym.load('%s-symbol.json' % prefix) File "/home/mridul/anaconda3/lib/python3.5/site-packages/mxnet/symbol.py", line 1056, in load check_call(_LIB.MXSymbolCreateFromFile(c_str(fname), ctypes.byref(handle))) File "/home/mridul/anaconda3/lib/python3.5/site-packages/mxnet/base.py", line 75, in check_call raise MXNetError(py_str(_LIB.MXGetLastError())) mxnet.base.MXNetError: Failed loading Op Moon of type MoonOutput: [02:02:41] src/core/op.cc:55: Che

mridulbirla avatar Mar 25 '17 05:03 mridulbirla

+1

feliu avatar May 25 '17 06:05 feliu

+1

christinahartw avatar May 31 '17 00:05 christinahartw

Has anyone figured this out?

christinahartw avatar May 31 '17 01:05 christinahartw

I do this: git clone --brach face --recursive [email protected]:tornadomeet/mxnet.git make -j8 cd python python setup.py install

then i can use the attribute prediction code to predict attributions

ccc013 avatar Jul 10 '17 06:07 ccc013

+1

quanh avatar Oct 27 '17 06:10 quanh

I did as what you did, but still not running the code. @ccc013

xingdi1990 avatar Dec 20 '17 19:12 xingdi1990

Does anyone have a solution installing it for GPU version?

anandbhattad avatar Jan 30 '18 22:01 anandbhattad

I also fail to detect attributes. And the slightly changed mxnet branch link isn't available.

leoliu37 avatar Jul 05 '18 07:07 leoliu37