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

报错 File "ptq_ns/nnom-master/scripts/nnom.py", line 1019, in generate_model inX += ' ,layer[%d]' % (LI[inp][0]) KeyError: 'tf.__operators__.getitem_5' #198

Closed
zardkk opened this issue May 24, 2023 · 0 comments

Comments

@zardkk
Copy link

zardkk commented May 24, 2023

generate_model(model,valid_batch_data, name="weights.h") File "/ptq_ns/nnom-master/scripts/nnom.py", line 1019, in generate_model inX += ' ,layer[%d]' % (LI[inp][0]) KeyError: 'tf.__operators__.getitem_5'

模型中有加法操作,请教一下generate_model时报这个错误是啥问题呀?

@zardkk zardkk changed the title File "/mnt/yangyindi/code2/tensorflow_dpcrn/ptq_ns/nnom-master/scripts/nnom.py", line 1019, in generate_model inX += ' ,layer[%d]' % (LI[inp][0]) KeyError: 'tf.__operators__.getitem_5' File "ptq_ns/nnom-master/scripts/nnom.py", line 1019, in generate_model inX += ' ,layer[%d]' % (LI[inp][0]) KeyError: 'tf.__operators__.getitem_5' May 24, 2023
@zardkk zardkk changed the title File "ptq_ns/nnom-master/scripts/nnom.py", line 1019, in generate_model inX += ' ,layer[%d]' % (LI[inp][0]) KeyError: 'tf.__operators__.getitem_5' 报错 File "ptq_ns/nnom-master/scripts/nnom.py", line 1019, in generate_model inX += ' ,layer[%d]' % (LI[inp][0]) KeyError: 'tf.__operators__.getitem_5' May 24, 2023
@zardkk zardkk closed this as completed May 24, 2023
@zardkk zardkk reopened this May 24, 2023
@zardkk zardkk closed this as completed May 24, 2023
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