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

AttributeError: 'collections.OrderedDict' object has no attribute 'iteritems' #9

Open
Hassan313 opened this issue Oct 21, 2019 · 0 comments

Comments

@Hassan313
Copy link

Hi,

When I run the code that you have provided in dnnweaver2-tutorial.ipynb file. I get the below error:

AttributeError: 'collections.OrderedDict' object has no attribute 'iteritems'

I have changed the iteritems() to items() in your code as below:
for tname, t in graph.tensor_registry.iteritems(): ----> for tname, t in graph.tensor_registry.items():

Is this correct?

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