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

Tensor Flow > 2.0 #24

Open
karthikbharadwaj opened this issue Oct 4, 2023 · 8 comments
Open

Tensor Flow > 2.0 #24

karthikbharadwaj opened this issue Oct 4, 2023 · 8 comments

Comments

@karthikbharadwaj
Copy link

How do I run the code using stand alone python on my laptop?

Unable to install tensor flow 1.15 as the default is 2.0 onwards now.

How do I go about it, as neuralgym has 1.15

@marcos-hr
Copy link

Exactly the same issue.

@bwenger9
Copy link

You have to use Python 3.7 which will allow 1.15 to install.

@real2do
Copy link

real2do commented Oct 17, 2023

You have to use Python 3.7 which will allow 1.15 to install.

I used Python 3.7,but can't work

@rupeshtiwari
Copy link

rupeshtiwari commented Nov 1, 2023

Same issue I am trying to install tensorflow

pip3 install tensorflow==1.15.0 --ignore-installed

Getting error

ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.0 (from versions: 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.15.0rc0)
ERROR: No matching distribution found for tensorflow==1.15.0

When I tried to install python 3.7 I also get error that it is deprecated upstream

╰$ brew install [email protected]
Error: [email protected] has been disabled because it is deprecated upstream!

@bg1szd
Copy link

bg1szd commented Dec 2, 2023

Finally I have it worked on my ubuntu 22.0.4 WSL with the sample picture and mask.png . The python version is 3.10. Thetensorflow==2.13.1.
There are several python files needs to be updated via the tf_upgrade_v2. The python files includes inpaint_ops.py, inpaint_model.py and main.py.
Also some python files under the neuralgym also needs updated via tf_upgrade_v2

@TennyZhuang
Copy link

Finally I have it worked on my ubuntu 22.0.4 WSL with the sample picture and mask.png . The python version is 3.10. Thetensorflow==2.13.1. There are several python files needs to be updated via the tf_upgrade_v2. The python files includes inpaint_ops.py, inpaint_model.py and main.py. Also some python files under the neuralgym also needs updated via tf_upgrade_v2

Would you be willing to provide your fork repo? It would be a great help, thank you

@bg1szd
Copy link

bg1szd commented Dec 4, 2023

Finally I have it worked on my ubuntu 22.0.4 WSL with the sample picture and mask.png . The python version is 3.10. Thetensorflow==2.13.1. There are several python files needs to be updated via the tf_upgrade_v2. The python files includes inpaint_ops.py, inpaint_model.py and main.py. Also some python files under the neuralgym also needs updated via tf_upgrade_v2

Would you be willing to provide your fork repo? It would be a great help, thank you

Here is my fork repo: https://github.com/bg1szd/watermark-removal
Besides the watermark-removal repo, the more changes were in the dependent neuralgym package.
I also updated it in my fork repo https://github.com/bg1szd/neuralgym
To install the updated package with !pip install git+https://github.com/bg1szd/neuralgym

@msk-psp
Copy link

msk-psp commented Dec 27, 2023

Finally I have it worked on my ubuntu 22.0.4 WSL with the sample picture and mask.png . The python version is 3.10. Thetensorflow==2.13.1. There are several python files needs to be updated via the tf_upgrade_v2. The python files includes inpaint_ops.py, inpaint_model.py and main.py. Also some python files under the neuralgym also needs updated via tf_upgrade_v2

Would you be willing to provide your fork repo? It would be a great help, thank you

Here is my fork repo: https://github.com/bg1szd/watermark-removal Besides the watermark-removal repo, the more changes were in the dependent neuralgym package. I also updated it in my fork repo https://github.com/bg1szd/neuralgym To install the updated package with !pip install git+https://github.com/bg1szd/neuralgym

This works. thanks

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

8 participants