IDEALLab / bezier-gan

Bézier Generative Adversarial Networks
MIT License
37 stars 21 forks source link

Argument definition issue #9

Open sarapuccia1 opened 1 year ago

sarapuccia1 commented 1 year ago

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 commented 1 year ago

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