repeats:50# Adjust how much trainging to do. Fewer training images need more repeats. This is multiplied by max_epochs for "amount" of training.
flip_p:0# use 0.5 to randomly flip images each repeat, not recommended unless very low training data (<20 images)
debug_level:1# 1 to print if images are dropped due to multiple-aspect ratio image bucketing
validation:
target:ldm.data.ed_validate.EDValidateBatch
params:
repeats:10
test:
target:ldm.data.ed_validate.EDValidateBatch
params:
repeats:1
lightning:
modelcheckpoint:
params:
every_n_epochs:1# produce a ckpt every epoch, leave 1!
#every_n_train_steps: 1400 # can only use epoch or train step checkpoints, can use this if you want instead of every_n_epochs but suggest epochs
save_top_k:2# *** How many checkpoints you will get to try out, automatically keeps what it thinks are the best. ** REQUIRES ~15GB+ of VOLUME store per checkpoint!!! ***
# Above is important. It costs a lot of VOLUME store but keeps you from having to start over if you overtrain by giving you a few checkpoints to try out.
max_epochs:4# suggest 3-4+ and adjust repeats above, only "save_top_k" number (above) of epochs are kept.
max_steps:99000# better to end on epochs not steps, especially with >500 images to ensure even distribution, but you can set this if you really want...