eladrich / pixel2style2pixel

Official Implementation for "Encoding in Style: a StyleGAN Encoder for Image-to-Image Translation" (CVPR 2021) presenting the pixel2style2pixel (pSp) framework
https://eladrich.github.io/pixel2style2pixel/
MIT License
3.19k stars 570 forks source link

dependency install issue #47

Closed tomtomtong closed 3 years ago

tomtomtong commented 3 years ago

Hello. I just use the following command in Window 10 64bit home edition conda env create -f C:\Users\User\Downloads\pixel2style2pixel\environment\psp_env.yaml

And I get the following error **ResolvePackageNotFound:

How would I solve this issue? Thank you for any reply.

yuval-alaluf commented 3 years ago

Seems like maybe there was an error installing openssl. Maybe try this solution: https://github.com/datitran/object_detector_app/issues/41 We worked only on Linux so I'm not too sure what could be causing the issue.

tomtomtong commented 3 years ago

Thank for your quick response. I try to move these packages under pip and reactivate But I get this error

Pip subprocess error: ERROR: Could not find a version that satisfies the requirement xz==5.2.5=h7b6447c_0 (from -r C:\Users\User\Downloads\pixel2style2pixel\environment\condaenv.epffu2lb.requirements.txt (line 1)) (from versions: none) ERROR: No matching distribution found for xz==5.2.5=h7b6447c_0 (from -r C:\Users\User\Downloads\pixel2style2pixel\environment\condaenv.epffu2lb.requirements.txt (line 1))

failed

CondaEnvException: Pip failed

yuval-alaluf commented 3 years ago

Since you are working on Windows and this seems to be an environment related issue, I feel like your best bet is to look into this issue through other forums that will probably be far more familiar with these types of issues.
With that, our conda environment today has many unused dependencies. We will try making a cleaner conda environment which may help reduce the potential issues in the future. However, I am not sure exactly when we will get to doing this task.

yuval-alaluf commented 3 years ago

Although this may not necessarily help solve your issue above, please refer to the updated conda environment uploaded yesterday which can be found here: https://github.com/eladrich/pixel2style2pixel/commit/38300fae448a8cb4cc47694dce6cd6e61c3ba2ca

I am closing this issue for now. Please feel free to reopen or open a new issue if needed.