aboutsummaryrefslogtreecommitdiff
path: root/modules/swinir_model_arch.py
diff options
context:
space:
mode:
authorJesse Williams <33797815+xram64@users.noreply.github.com>2022-10-08 01:30:49 -0400
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-09 12:39:18 +0300
commitd74c38108f95e44d83a1706ee5ab218124972868 (patch)
tree4c126ded8ef98b75cf92cd7374ee6d4d53cf5d5d /modules/swinir_model_arch.py
parent6f6798ddabe10d320fe8ea05edf0fdcef0c51a8e (diff)
Confirm that options are valid before starting
When using the 'Sampler' or 'Checkpoint' options, if one of the entered names has a typo, an error will only be thrown once the `draw_xy_grid` loop reaches that name. This can waste a lot of time for large grids with a typo near the end of a list, since the script needs to start over and re-generate any earlier images to finish making the grid. Also fixing typo in variable name in `draw_xy_grid`.
Diffstat (limited to 'modules/swinir_model_arch.py')
0 files changed, 0 insertions, 0 deletions