DL-Art-School/codes
James Betker 44a19cd37c ExtensibleTrainer mods to support advanced checkpointing for stylegan2
Basically: stylegan2 makes use of gradient-based normalizers. These
make it so that I cannot use gradient checkpointing. But I love gradient
checkpointing. It makes things really, really fast and memory conscious.

So - only don't checkpoint when we run the regularizer loss. This is a
bit messy, but speeds up training by at least 20%.

Also: pytorch: please make checkpointing a first class citizen.
2020-11-12 15:45:07 -07:00
..
.idea
data
metrics
models ExtensibleTrainer mods to support advanced checkpointing for stylegan2 2020-11-12 15:45:07 -07:00
scripts
switched_conv@cb520afd4d
utils
multi_modal_train.py
process_video.py
requirements.txt
test.py
train2.py Fix an issue where GPU0 was always being used in non-ddp 2020-11-12 15:43:01 -07:00
train.py Fix an issue where GPU0 was always being used in non-ddp 2020-11-12 15:43:01 -07:00