Closed chadcwilliams closed 2 months ago
I removed automatic padding in my dev-branch. Added too much complexity to the code for only little benefit. Added two error messages for GAN and AE-GAN instead.
See issue https://github.com/AutoResearch/EEG-GAN/issues/98#issue
If the first if statement is
False
it moves forward, but the second if statement may still beTrue
(although it should be ignored when loading the AE) as it does not incorporate the AE.Need to change
elif opt['gan_type'] == 'tts' and opt['sequence_length'] % opt['patch_size'] != 0:
toelif opt['gan_type'] == 'tts' and not ae_dict and opt['sequence_length'] % opt['patch_size'] != 0: