AttributeError: 'DataParallel' object has no attribute 'copy'

checkpoint['model'].module.state_dict() would yield the same parameters then.
If the model wasn’t stored properly, its state_dict will contain the same parameters.

1 Like