GaumlessGraham commited on
Commit
fa546b4
·
verified ·
1 Parent(s): 4290b60

Update butterfly_training.py

Browse files
Files changed (1) hide show
  1. butterfly_training.py +3 -3
butterfly_training.py CHANGED
@@ -61,12 +61,12 @@ class TrainingConfig:
61
  image_size = 64 # the generated image resolution
62
  train_batch_size = 16
63
  eval_batch_size = 16 # how many images to sample during evaluation
64
- num_epochs = 50
65
  gradient_accumulation_steps = 1
66
  learning_rate = 1e-4
67
  lr_warmup_steps = 500
68
- save_image_epochs = 10
69
- save_model_epochs = 30
70
  mixed_precision = "fp16" # `no` for float32, `fp16` for automatic mixed precision
71
  output_dir = "butterflystest" # the model name locally and on the HF Hub
72
 
 
61
  image_size = 64 # the generated image resolution
62
  train_batch_size = 16
63
  eval_batch_size = 16 # how many images to sample during evaluation
64
+ num_epochs = 10
65
  gradient_accumulation_steps = 1
66
  learning_rate = 1e-4
67
  lr_warmup_steps = 500
68
+ save_image_epochs = 5
69
+ save_model_epochs = 5
70
  mixed_precision = "fp16" # `no` for float32, `fp16` for automatic mixed precision
71
  output_dir = "butterflystest" # the model name locally and on the HF Hub
72