GaumlessGraham commited on
Commit
387be2b
·
verified ·
1 Parent(s): a589d4d

Update innerRace.py

Browse files
Files changed (1) hide show
  1. innerRace.py +4 -4
innerRace.py CHANGED
@@ -56,15 +56,15 @@ from dataclasses import dataclass
56
 
57
  @dataclass
58
  class TrainingConfig:
59
- image_size = 32 # the generated image resolution
60
  train_batch_size = 10
61
- eval_batch_size = 2 # how many images to sample during evaluation
62
  num_epochs = 250
63
  gradient_accumulation_steps = 1
64
  learning_rate = 1e-4
65
  lr_warmup_steps = 500
66
- save_image_epochs = 2
67
- save_model_epochs = 2
68
  mixed_precision = "fp16" # `no` for float32, `fp16` for automatic mixed precision
69
  output_dir = "7inchInnerRace1730" # the model name locally and on the HF Hub
70
 
 
56
 
57
  @dataclass
58
  class TrainingConfig:
59
+ image_size = 256 # the generated image resolution
60
  train_batch_size = 10
61
+ eval_batch_size = 16 # how many images to sample during evaluation
62
  num_epochs = 250
63
  gradient_accumulation_steps = 1
64
  learning_rate = 1e-4
65
  lr_warmup_steps = 500
66
+ save_image_epochs = 100
67
+ save_model_epochs = 100
68
  mixed_precision = "fp16" # `no` for float32, `fp16` for automatic mixed precision
69
  output_dir = "7inchInnerRace1730" # the model name locally and on the HF Hub
70