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

Tensorflow issues #25

Open
ajeb78 opened this issue Oct 19, 2021 · 4 comments
Open

Tensorflow issues #25

ajeb78 opened this issue Oct 19, 2021 · 4 comments

Comments

@ajeb78
Copy link

ajeb78 commented Oct 19, 2021

I edited the python files as you suggested in replying to the other issue I raised and got rid of the toImage errors, unfortunately I now get a variety of tensorflow errors instead that I can't make go away by importing tensorflow.v1.compat and disabling v2 features.

@nekitmm
Copy link
Owner

nekitmm commented Oct 19, 2021

Wait, what code do you use and what TF version do you have? The code in the jupyter notebook uses TF 2.x. There are two versions of the code in the repo - for TF 1.x and TF 2.x, pls make sure that you use the right code with right TF version.

PS. I honestly need to get rid of the old code for TF 1.x...

@ajeb78
Copy link
Author

ajeb78 commented Oct 20, 2021 via email

@nekitmm
Copy link
Owner

nekitmm commented Oct 20, 2021

Adrian,

Yeah, you are a bit wrong about jupyter notebooks - those are actually a nice way to run python code. You should look it up - long story short you should run 'jupyter notebook' instead of calling python, and then open starnet_v1_TF2_transform.ipynb in the new window that will pop up. It should be clear and straightforward after that!

@ajeb78
Copy link
Author

ajeb78 commented Oct 20, 2021 via email

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

2 participants