**Quick and dirty fix** Comment this string ```python #print(model['encoder.history.weight']) ``` Add argument `weights_only=False` to torch.load ```python state = torch.load(args.i, map_location='cpu', weights_only=False) ```
Quick and dirty fix
Comment this string
#print(model['encoder.history.weight'])Add argument
weights_only=Falseto torch.load