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

Argument definition issue #9

Open
sarapuccia1 opened this issue Aug 12, 2023 · 1 comment
Open

Argument definition issue #9

sarapuccia1 opened this issue Aug 12, 2023 · 1 comment

Comments

@sarapuccia1
Copy link

Hi everybody,
I try to train the gan with the training code included in the directory. Every time I try to run it returns the following error:

usage: train_gan.py [-h] [--model_id MODEL_ID] [--save_interval SAVE_INTERVAL] mode latent noise
train_gan.py: error: the following arguments are required: mode, latent, noise

Can you please help me?

@wchen459
Copy link
Contributor

You need to run the code using the command python train_gan.py ... (replace ... with actual values of arguments). For example:
python train_gan.py train 10 10 --model_id=0

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