Exception has occurred: UnpicklingError
A load persistent id instruction was encountered, but no persistent_load function was specified.
运行torch.load() 时报错,原因是保存和加载模型时的pytorch版本不一致导致的,换用一致的版本即可。
Exception has occurred: UnpicklingError
A load persistent id instruction was encountered, but no persistent_load function was specified.
运行torch.load() 时报错,原因是保存和加载模型时的pytorch版本不一致导致的,换用一致的版本即可。