totnodameet mxnet-face attribute error
来源:互联网 发布:电脑淘宝卖家中心 编辑:程序博客网 时间:2024/06/07 05:34
File "predict.py", line 18, in main
_, arg_params, aux_params = mx.model.load_checkpoint(args.model_load_prefix, args.model_load_epoch)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py", line 362, in load_checkpoint
symbol = sym.load('%s-symbol.json' % prefix)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/symbol.py", line 886, in load
check_call(_LIB.MXSymbolCreateFromFile(c_str(fname), ctypes.byref(handle)))
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/base.py", line 77, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: Failed loading Op slice1 of type SliceChannel: Cannot find argument 'squeeze_axis', Possible Arguments:
----------------
num_outputs : int, required
Number of outputs to be sliced.
axis : int, optional, default='1'
symbol, arg_params, aux_params = load_checkpoint(prefix, epoch)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py", line 362, in load_checkpoint
symbol = sym.load('%s-symbol.json' % prefix)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/symbol.py", line 886, in load
check_call(_LIB.MXSymbolCreateFromFile(c_str(fname), ctypes.byref(handle)))
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/base.py", line 77, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: Failed loading Op slice1 of type SliceChannel: Cannot find argument 'squeeze_axis', Possible Arguments:
----------------
num_outputs : int, required
Number of outputs to be sliced.
axis : int, optional, default='1'
Dimension along which to slice.
_, arg_params, aux_params = mx.model.load_checkpoint(args.model_load_prefix, args.model_load_epoch)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py", line 362, in load_checkpoint
symbol = sym.load('%s-symbol.json' % prefix)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/symbol.py", line 886, in load
check_call(_LIB.MXSymbolCreateFromFile(c_str(fname), ctypes.byref(handle)))
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/base.py", line 77, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: Failed loading Op slice1 of type SliceChannel: Cannot find argument 'squeeze_axis', Possible Arguments:
----------------
num_outputs : int, required
Number of outputs to be sliced.
axis : int, optional, default='1'
Dimension along which to slice.
may be my mxnet is error .
model_load=mx.model.FeedForward.load(args.model_load_prefix, args.model_load_epoch)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py", line 818, in loadsymbol, arg_params, aux_params = load_checkpoint(prefix, epoch)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py", line 362, in load_checkpoint
symbol = sym.load('%s-symbol.json' % prefix)
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/symbol.py", line 886, in load
check_call(_LIB.MXSymbolCreateFromFile(c_str(fname), ctypes.byref(handle)))
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.5.0-py2.7.egg/mxnet/base.py", line 77, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: Failed loading Op slice1 of type SliceChannel: Cannot find argument 'squeeze_axis', Possible Arguments:
----------------
num_outputs : int, required
Number of outputs to be sliced.
axis : int, optional, default='1'
Dimension along which to slice.
这个问题的原因是:
早前的装的mxnet 的版本有些老了,把新版本的mxnet 在重装一遍就可以了。20160928
0 0
- totnodameet mxnet-face attribute error
- mxnet运行时报错:AttributeError: module 'mxnet.ndarray' has no attribute 'random'
- mxnet解决AttributeError: module 'mxnet.test_utils' has no attribute 'get_mnist'这个报错
- mxnet
- MXNet
- MXNet
- MXNet
- 读《Attribute and Simile Classifiers for Face Verification》有感
- AttributeError: 'module' object has no attribute 'face' 问题解决 opencv+python
- AttributeError: module 'cv2.face' has no attribute 'createEigenFaceRecognizer' 解决办法
- Python: Attribute Error - 'NoneType' object has no attribute 'something'
- Tensorflow:Attribute Error: 'module' object has no attribute 'mul'
- Tensorflow:Attribute Error: 'module' object has no attribute ‘summary'
- FACE
- Face++
- Error: This attribute must be localized. 解决方法
- error: expected a property attribute before 'strong'
- error: expected a property attribute before 'strong'
- IntelliJ IDEA导入eclipse Web项目
- B/S网络架构
- 计算机网络:第二章-物理层
- 借助Calendar实现timestamp的追加时长
- SharePoint 2016 Office Web Apps Server 更名为 Office Online Server
- totnodameet mxnet-face attribute error
- jQuery中bind和live的区别
- Java集合工具类Collections(二)
- vsftpd配置文件详解
- Python 基础语法(二)
- Redis Window 安装
- Nginx 配置相关总结
- 【Java多线程与并发库】1.传统线程技术回顾
- Python 基础语法(三)