HzDmS / gaze_redirection

[Official Implementation] Photo-Realistic Monocular Gaze Redirection Using Generative Adversarial Networks, He et.al. ICCV 2019
MIT License
137 stars 21 forks source link

Config environment #13

Open snowymo opened 3 years ago

snowymo commented 3 years ago

Hi,

I tried configuring the environment via Anaconda however, quite a few conflicts showed up.

I wonder could you provide a more detailed dependency list, including python version and tensorflow-gpu version as well?

Thanks a lot.

nothings commented 3 years ago

There is an undocumented dependency on the package "pillow" (PIL). This is mentioned in the docs for scipy.misc.imsave.

I don't know what platform you're on. I'm on Windows, which made this extremely difficult to install. I was able to get it working on 64-bit Windows as follows:

Use Python 3.5.

Uninstall numpy, scipy, tensorflow.

Download these files:

Most links on the internet for the files point to a site that no longer has those older versions. Currently I was able to get them from https://www.silx.org/pub/wheelhouse/.

Then:

pip install numpy-1.13.1+mkl-cp35-cp35m-win_amd64.whl
pip install scipy-0.19.1-cp35-cp35m-win_amd64.whl
pip install tensorflow=1.17.1
pip install pillow