Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on Windows 10 #82

Closed
binkiebinkie opened this issue Sep 13, 2021 · 5 comments
Closed

Running on Windows 10 #82

binkiebinkie opened this issue Sep 13, 2021 · 5 comments

Comments

@binkiebinkie
Copy link

binkiebinkie commented Sep 13, 2021

Hello,
Has anyone been able to get this environment running on Windows 10? I have almost gotten it running but I get the following issue when I try to run the command set CUDA_VISIBLE_DEVICES=0 & py -3.7 src/main.py -t -e -c CONFIG_PATH subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.

image

A couple of notes I found for getting it set up so far on Windows:

  • using conda env create -f environment.yml -n studiogan doesn't work as the environment.yml file is for Linux (I think, that's what I read) so I ended up going through requirements.txt and installing everything with the command py -3.7 -m pip install [package name]==[package version]
  • Setting environment variables in Windows in script commands doesn't work like Linux, so we use the syntax set CUDA_VISIBLE_DEVICES=0 & instead in the command to run it
@mingukkang
Copy link
Collaborator

Hi,

This is an error caused by the gcc library you installed.

If you do not plan to use adaptive discriminator augmentation (ADA) for data efficient GAN training, removing "from utils.ada import ADAugment" in ./src/worker.py (line 23) will resolve your problem.

Thank you.

@binkiebinkie
Copy link
Author

@mingukkang it worked! Thanks so much for your quick reply, excited to work with this library

@binkiebinkie
Copy link
Author

Oh, actually I have one more question. I am looking to train a model on photos like the following; bugs with white backgrounds. Do you have any recommendations on a method/model to use? Please and thank you!

ladybug1
ladybug0
ladybug2

@mingukkang
Copy link
Collaborator

mingukkang commented Sep 14, 2021

Hi,

I recommend using StyleGAN2 to train your GAN model.
(https://github.com/NVlabs/stylegan2-ada-pytorch)

StyleGAN2 is a good framework for synthesizing center-aligned images like AFHQ and FFHQ datasets.

Many GANs in StudioGAN library are specialized in generating datasets with large inter-class and intra-class variations.

Thank you.

Best,

Minguk

@binkiebinkie
Copy link
Author

Oh okay great, thank you for your guidance. Pretty new to this space. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants