-
Notifications
You must be signed in to change notification settings - Fork 965
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
AttributeError: 'NoneType' object has no attribute 'name' #269
Comments
Hi @jackchinor , If the However, if the That is because the For the first type, its input is like this: In contrast, for the second type, its input is like this I think that is why |
In this situation, if there is a |
Hi @JiahaoYao , |
Hi, @JiahaoYao , @jackchinor , @criminalking
Thank you |
@asa008 Do you solve this problem? I encounter the same issue! |
I posted an issue here: #925 |
Platform (like ubuntu 16.04/win10):
ubuntu 14.04
Python version:2.7
Source framework with version (like Tensorflow 1.4.1 with GPU):
Destination framework with version (like CNTK 2.3 with GPU):
Pre-trained model path (webpath or webdisk path):
Running scripts:
File "/home/shyf/anaconda2/envs/tensorflow/bin/mmtoir", line 11, in
sys.exit(_main())
File "/home/shyf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/mmdnn/conversion/_script/convertToIR.py", line 184, in _main
ret = _convert(args)
File "/home/shyf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/mmdnn/conversion/_script/convertToIR.py", line 102, in _convert
parser.run(args.dstPath)
File "/home/shyf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/mmdnn/conversion/common/DataStructure/parser.py", line 22, in run
self.gen_IR()
File "/home/shyf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/mmdnn/conversion/tensorflow/tensorflow_parser.py", line 311, in gen_IR
func(current_node)
File "/home/shyf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/mmdnn/conversion/tensorflow/tensorflow_parser.py", line 646, in rename_FusedBatchNorm
self.set_weight(source_node.name, 'scale', self.ckpt_data[scale.name])
AttributeError: 'NoneType' object has no attribute 'name'
(tensorflow) shyf@SHYFSer:~/work/goodix_qxg/tf2/checkpoint_autoenc_0531_SSIMAdam$
when I convert my own tensorflow model to IR file, there is a problem happens , Can anyone help me figure it out?
Thanks!
The text was updated successfully, but these errors were encountered: