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

RuntimeError: dictionary changed size during iteration #2127

Open
Choi-Sung-Hoon opened this issue Apr 17, 2020 · 0 comments
Open

RuntimeError: dictionary changed size during iteration #2127

Choi-Sung-Hoon opened this issue Apr 17, 2020 · 0 comments

Comments

@Choi-Sung-Hoon
Copy link

Choi-Sung-Hoon commented Apr 17, 2020

I've met this error while I was trying to run sample script balloon.py with python 3.7.3 on macOS.

image

I thought that this error must have caused by incompatibility between python 3.7.x and Tensorflow2.

So I installed python 3.6.8 with pyenv and virtual environment for python 3.6.8 and this resolved the problem.


BTW, I met another problem after I downgraded python version.

AttributeError: module 'tensorflow' has no attribute 'log'
image

The error was raised due to usage of old Tensorflow library functions. (I have tensorflow 2.1.0)

This error was resolved with the following command (referenced here)

tf_upgrade_v2 --intree Mask_RCNN --inplace

Result of the command:
image


Now I'm happy with the result of sample script balloon.py

image

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