OpenGVLab/gv-benchmark

how to load released MetaNet-B4-Up-G

wangzerong opened this issue · 1 comments

when I load the released model through the scripts:
data = pickle.load(open('data.pkl', 'rb'))

the error encoutered:
UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified.

and the version of pytorch is 1.10.2

Just use torch.load(path_to_ckpt)