watermark-removal icon indicating copy to clipboard operation
watermark-removal copied to clipboard

Tensor Flow > 2.0

Open karthikbharadwaj opened this issue 1 year ago • 8 comments

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

karthikbharadwaj avatar Oct 04 '23 13:10 karthikbharadwaj

Exactly the same issue.

marcos-hr avatar Oct 14 '23 08:10 marcos-hr

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

bwenger9 avatar Oct 16 '23 03:10 bwenger9

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

I used Python 3.7,but can't work

real2do avatar Oct 17 '23 03:10 real2do

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!

rupeshtiwari avatar Nov 01 '23 13:11 rupeshtiwari

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

bg1szd avatar Dec 02 '23 22:12 bg1szd

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

TennyZhuang avatar Dec 04 '23 03:12 TennyZhuang

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

bg1szd avatar Dec 04 '23 15:12 bg1szd

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

msk-psp avatar Dec 27 '23 09:12 msk-psp