tamarott / SinGAN

Official pytorch implementation of the paper: "SinGAN: Learning a Generative Model from a Single Natural Image"
https://tamarott.github.io/SinGAN.htm
Other
3.29k stars 608 forks source link

Lack of package versions in requirements.txt file. #167

Closed pszajows closed 1 year ago

pszajows commented 2 years ago

In the requirements.txt file no package versions are provided at the moment. This results in a runtime error when running the code in the environment created on the basis of that file. If it is necessary to install the packages from a specific conda channel it would be also good to update README.md file to reflect that. This need is very likely - the comments from other issues suggest, that torch version should be 1.4.0 and torchvision 0.5.0. These versions are not available for pip installations any more and AFAIK also they are not present in the standard conda channel. See issues #108, #147, #161 and #110. See also: https://pytorch.org/get-started/previous-versions/ for details regarding installation of old torch and torchvision versions. The package versions, which look OK to me are: matplotlib==3.3.4 scikit-image==0.17.2 scikit-learn==0.24.2 scipy==1.5.4 numpy==1.19.5 torch==1.4.0 torchvision==0.5.0