Traceback (most recent call last):


 "/home/uc/project/football2/venv/bin/mmconvert", line 11, in <module>

sys.exit(_main())


 "/home/uc/project/football2/venv/local/lib/python2.7/site-packages/mmdnn/conversion/_script/convert.py", line 108, in _main

ret = IRToCode._convert(code_args)


 "/home/uc/project/football2/venv/local/lib/python2.7/site-packages/mmdnn/conversion/_script/IRToCode.py", line 61, in _convert

emitter.run(args.dstModelPath, args.dstWeightPath, args.phase)


 "/home/uc/project/football2/venv/local/lib/python2.7/site-packages/mmdnn/conversion/pytorch/pytorch_emitter.py", line 44, in run

super(PytorchEmitter, self).run(dstNetworkPath, dstWeightPath, phase)


 "/home/uc/project/football2/venv/local/lib/python2.7/site-packages/mmdnn/conversion/common/DataStructure/emitter.py", line 21, in run

self.save_code(dstNetworkPath, phase)


 "/home/uc/project/football2/venv/local/lib/python2.7/site-packages/mmdnn/conversion/common/DataStructure/emitter.py", line 53, in save_code

code = self.gen_code(phase)


 "/home/uc/project/football2/venv/local/lib/python2.7/site-packages/mmdnn/conversion/pytorch/pytorch_emitter.py", line 95, in gen_code

line = func(current_node)


 "/home/uc/project/football2/venv/local/lib/python2.7/site-packages/mmdnn/conversion/pytorch/pytorch_emitter.py", line 526, in emit_ReduceMean

axes = [self._convert_axis(IR_node, x) for x in IR_node.get_attr('axes')]


 "/home/uc/project/football2/venv/local/lib/python2.7/site-packages/mmdnn/conversion/pytorch/pytorch_emitter.py", line 436, in _convert_axis

**ndim = len(self.IR_graph.get_parent(IR_node.name, [0]).get_attr('_output_shapes')[0].dim)
AttributeError: 'NoneType' object has no attribute 'get_attr'**

Traceback (most recent call last):


 "/home/zhangshaoyuan/anaconda3/bin/t2t-decoder", line 17, in <module>

tf.app.run()


 "/home/zhangshaoyuan/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run

_sys.exit(main(argv))


 "/home/zhangshaoyuan/anaconda3/bin/t2t-decoder", line 12, in main

t2t_decoder.main(argv)


 "/home/zhangshaoyuan/anaconda3/lib/python3.6/site-packages/tensor2tensor/bin/t2t_decoder.py", line 190, in main

decode(estimator, hp, decode_hp)


 "/home/zhangshaoyuan/anaconda3/lib/python3.6/site-packages/tensor2tensor/bin/t2t_decoder.py", line 90, in decode

checkpoint_path=FLAGS.checkpoint_path)


 "/home/zhangshaoyuan/anaconda3/lib/python3.6/site-packages/tensor2tensor/utils/decoding.py", line 443, in decode_from_file

), None)


 "/home/zhangshaoyuan/anaconda3/lib/python3.6/site-packages/tensor2tensor/utils/decoding.py", line 823, in run_postdecode_hooks

summaries = hook(decode_hook_args)


 "/home/zhangshaoyuan/anaconda3/lib/python3.6/site-packages/tensor2tensor/data_generators/translate.py", line 80, in compute_bleu_summaries

if (decode_hparams.decode_reference is None or
AttributeError: 'HParams' object has no attribute 'decode_reference'
