Giter Site home page Giter Site logo

Comments (9)

LukeZhuohuiLi avatar LukeZhuohuiLi commented on July 28, 2024 1

Use python 3.6.7, tensorflow has some problems with python 3.7.

from tecogan.

LukeZhuohuiLi avatar LukeZhuohuiLi commented on July 28, 2024 1

@LukeZhuohuiLi Could I ask what environment did you used? Was it Anaconda3(64bit)?

I didn't use Anaconda because downgrading to python 3.6 in Anaconda takes a lot of time. Also CUDA 10.1 is not compatible with pytorch.
Check the right version and command from here: https://pytorch.org

Don't use python 3.7 since tensorflow is not compatible with python 3.7.

also, there is one problem that I can't remember, I ended up using python 3.6.7 64bit(I am sure 3.7 and 3.6.0 doesn't work with the code) and add the Scripts folder to the environment variables(path). update the pip directly from CMD, rename the python.exe to python3.exe.
You will probably need wget.exe download from here, unzip and put it inside the Scripts folder.
Then I use
pip3 install --ignore-installed --upgrade tensorflow-gpu
pip3 install -r requirements.txt

python3 runGan.py 1
You will see a lot of warnings, but the program will still run.
wget.zip

from tecogan.

BingEdison avatar BingEdison commented on July 28, 2024 1

including shell=True in subprocess function solved issue for me on win10 inside runGan.py, example line 21: subprocess.Popen(cmd) --> subprocess.Popen(cmd,shell=True)

from tecogan.

TigerStone93 avatar TigerStone93 commented on July 28, 2024

@LukeZhuohuiLi Thanks for your advice but it did not work under Python 3.6.7 too.

from tecogan.

LukeZhuohuiLi avatar LukeZhuohuiLi commented on July 28, 2024

@LukeZhuohuiLi Thanks for your advice but it did not work under Python 3.6.7 too.

I got the same problem, I don't remember, but I solved it either switch to python 3.6 or switch python 32bit to 64bit, after that just run pip3 install -r requirements.txt.

from tecogan.

TigerStone93 avatar TigerStone93 commented on July 28, 2024

@LukeZhuohuiLi Could I ask what environment did you used? Was it Anaconda3(64bit)?

from tecogan.

TigerStone93 avatar TigerStone93 commented on July 28, 2024

@LukeZhuohuiLi
What a detailed desciption!
Thank you for your help.
I will try and let you know the result.

from tecogan.

TigerStone93 avatar TigerStone93 commented on July 28, 2024

@LukeZhuohuiLi It works perfectly on Python 3.5, Ubuntu 16.04.
Thank you so much.
Maybe there is a compatibility problem on Anaconda 3, Windows.

from tecogan.

TigerStone93 avatar TigerStone93 commented on July 28, 2024

@EdisonBing Thank you for your kind commentary.

from tecogan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.