Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run vis.py 时出现错误 #2

Open
Trangle opened this issue Nov 22, 2016 · 0 comments
Open

run vis.py 时出现错误 #2

Trangle opened this issue Nov 22, 2016 · 0 comments

Comments

@Trangle
Copy link

Trangle commented Nov 22, 2016

C:\WinPython\python-2.7.10.amd64\python.exe D:/MyCoding/DeepLearning/test_example/mxnet/example/center_loss/vis.py
feature_extractor loaded
[01:15:43] D:\MyCoding\DeepLearning\OpenSource\mxnet\src\io\iter_mnist.cc:94: MNISTIter: load 60000 images, shuffle=1, shape=(100,1,28,28)
[01:15:44] D:\MyCoding\DeepLearning\OpenSource\mxnet\src\io\iter_mnist.cc:94: MNISTIter: load 10000 images, shuffle=1, shape=(100,1,28,28)
extracting feature
[01:15:44] D:\MyCoding\DeepLearning\OpenSource\mxnet\dmlc-core\include\dmlc/logging.h:235: [01:15:44] D:\MyCoding\DeepLearning\OpenSource\mxnet\src\symbol\symbol.cc:155: Symbol.InferShapeKeyword argument name softmax_label not found.
Candidate arguments:
[0]data
[1]convolution0_weight
[2]convolution0_bias
[3]convolution1_weight
[4]convolution1_bias
[5]fullyconnected0_weight
[6]fullyconnected0_bias
[7]embedding_weight
[8]embedding_bias

Traceback (most recent call last):
File "D:/MyCoding/DeepLearning/test_example/mxnet/example/center_loss/vis.py", line 73, in
main()
File "D:/MyCoding/DeepLearning/test_example/mxnet/example/center_loss/vis.py", line 55, in main
preds = feature_extractor.predict( i.data[0] )
File "C:\WinPython\python-2.7.10.amd64\lib\site-packages\mxnet-0.7.0-py2.7.egg\mxnet\model.py", line 608, in predict
self._init_predictor(data_shapes, type_dict)
File "C:\WinPython\python-2.7.10.amd64\lib\site-packages\mxnet-0.7.0-py2.7.egg\mxnet\model.py", line 532, in _init_predictor
self.ctx[0], grad_req='null', type_dict=type_dict, **dict(input_shapes))
File "C:\WinPython\python-2.7.10.amd64\lib\site-packages\mxnet-0.7.0-py2.7.egg\mxnet\symbol.py", line 676, in simple_bind
arg_shapes, _, aux_shapes = self.infer_shape(**kwargs)
File "C:\WinPython\python-2.7.10.amd64\lib\site-packages\mxnet-0.7.0-py2.7.egg\mxnet\symbol.py", line 458, in infer_shape
return self._infer_shape_impl(False, *args, **kwargs)
File "C:\WinPython\python-2.7.10.amd64\lib\site-packages\mxnet-0.7.0-py2.7.egg\mxnet\symbol.py", line 518, in _infer_shape_impl
ctypes.byref(complete)))
File "C:\WinPython\python-2.7.10.amd64\lib\site-packages\mxnet-0.7.0-py2.7.egg\mxnet\base.py", line 77, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [01:15:44] D:\MyCoding\DeepLearning\OpenSource\mxnet\src\symbol\symbol.cc:155: Symbol.InferShapeKeyword argument name softmax_label not found.
Candidate arguments:
[0]data
[1]convolution0_weight
[2]convolution0_bias
[3]convolution1_weight
[4]convolution1_bias
[5]fullyconnected0_weight
[6]fullyconnected0_bias
[7]embedding_weight
[8]embedding_bias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant