Ibrahim

Results 1 comments of Ibrahim

This Worked for me: state_dict = checkpoint['state_dict'] from collections import OrderedDict new_state_dict = OrderedDict() for k, v in state_dict.items(): if 'module' not in k: k = 'module.'+k else: k =...