Closed shenberg closed 1 year ago
The bug is triggered when the field 'optimizer' in the checkpoint dictionary is a list, such as with GAN models where it's a list of 2 states, one for D optimizer and one for G optimizer.
'optimizer'
Thanks for the PR. Apparently It is already fixed.
Great!
The bug is triggered when the field
'optimizer'
in the checkpoint dictionary is a list, such as with GAN models where it's a list of 2 states, one for D optimizer and one for G optimizer.