lucidrains / stylegan2-pytorch

Simplest working implementation of Stylegan2, state of the art generative adversarial network, in Pytorch. Enabling everyone to experience disentanglement
https://thispersondoesnotexist.com
MIT License
3.71k stars 588 forks source link

Error installing stylegan2_pytorch #76

Open alecagayan opened 4 years ago

alecagayan commented 4 years ago

When I do pip install stylegan2_pytorch I get no errors, but when I try to run the command stylegan2_pytorch I get an error that says that it doesn't recognize it as an internal or external command. Is there any way to fix this issue? Below is the readout I get when installing stylegan2_pytorch:

C:\Users\alec>pip install stylegan2_pytorch Requirement already satisfied: stylegan2_pytorch in c:\programdata\anaconda3\lib\site-packages (0.14.0) Requirement already satisfied: tqdm in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (4.42.1) Requirement already satisfied: pillow in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (7.0.0) Requirement already satisfied: linear-attention-transformer in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (0.7.3) Requirement already satisfied: torchvision in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (0.5.0+cpu) Requirement already satisfied: fire in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (0.3.1) Requirement already satisfied: retry in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (0.9.2) Requirement already satisfied: contrastive-learner>=0.1.0 in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (0.1.0) Requirement already satisfied: vector-quantize-pytorch in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (0.0.2) Requirement already satisfied: torch in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (1.4.0+cpu) Requirement already satisfied: torch-optimizer in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (0.0.1a12) Requirement already satisfied: numpy in c:\programdata\anaconda3\lib\site-packages (from stylegan2_pytorch) (1.18.1) Requirement already satisfied: axial-positional-embedding in c:\programdata\anaconda3\lib\site-packages (from linear-attention-transformer->stylegan2_pytorch) (0.2.1) Requirement already satisfied: product-key-memory>=0.1.5 in c:\programdata\anaconda3\lib\site-packages (from linear-attention-transformer->stylegan2_pytorch) (0.1.10) Requirement already satisfied: six in c:\users\alec\appdata\roaming\python\python37\site-packages (from torchvision->stylegan2_pytorch) (1.12.0) Requirement already satisfied: termcolor in c:\programdata\anaconda3\lib\site-packages (from fire->stylegan2_pytorch) (1.1.0) Requirement already satisfied: decorator>=3.4.2 in c:\users\alec\appdata\roaming\python\python37\site-packages (from retry->stylegan2_pytorch) (4.4.0) Requirement already satisfied: py<2.0.0,>=1.4.26 in c:\programdata\anaconda3\lib\site-packages (from retry->stylegan2_pytorch) (1.8.1) Requirement already satisfied: kornia in c:\programdata\anaconda3\lib\site-packages (from contrastive-learner>=0.1.0->stylegan2_pytorch) (0.3.1) Requirement already satisfied: pytorch-ranger>=0.1.1 in c:\programdata\anaconda3\lib\site-packages (from torch-optimizer->stylegan2_pytorch) (0.1.1)

erinbeesley commented 4 years ago

having the same issue, has to be simple lol

Zenahr commented 4 years ago

It has most probably not been added to path. (In case you are on a Windows machine.)