Skip to content

Commit

Permalink
Changed the default optimizer to Adam and added some more info on the…
Browse files Browse the repository at this point in the history
… optimizers we can use on the VAE training script.
  • Loading branch information
ZeroCool940711 committed Aug 8, 2023
1 parent 8a28adc commit 80e056a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions train_muse_maskgit.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,11 @@
parser.add_argument(
"--optimizer",
type=str,
default="Adafactor",
default="Adam",
help="Optimizer to use. Choose between: ['Adam', 'AdamW','Lion', 'Adafactor', "
"'AdaBound', 'AdaMod', 'AccSGD', 'AdamP', 'AggMo', 'DiffGrad', 'Lamb', "
"'NovoGrad', 'PID', 'QHAdam', 'QHM', 'RAdam', 'SGDP', 'SGDW', 'Shampoo', "
"'SWATS', 'Yogi']. Default: Lion",
"'SWATS', 'Yogi']. Default: Adam",
)
parser.add_argument(
"--weight_decay",
Expand Down
7 changes: 5 additions & 2 deletions train_muse_vae.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,11 @@
parser.add_argument(
"--optimizer",
type=str,
default="Lion",
help="Optimizer to use. Choose between: ['Adam', 'AdamW','Lion']. Default: Lion",
default="Adam",
help="Optimizer to use. Choose between: ['Adam', 'AdamW','Lion', 'Adafactor', "
"'AdaBound', 'AdaMod', 'AccSGD', 'AdamP', 'AggMo', 'DiffGrad', 'Lamb', "
"'NovoGrad', 'PID', 'QHAdam', 'QHM', 'RAdam', 'SGDP', 'SGDW', 'Shampoo', "
"'SWATS', 'Yogi']. Default: Adam",
)
parser.add_argument(
"--cache_path",
Expand Down

0 comments on commit 80e056a

Please sign in to comment.