AttributeError                            Traceback (most recent call last)
 in ()
1
2 with open(fname, ‘rb’) as fid:
----> 3     model = pickle.load(fid)
AttributeError: Can’t get attribute ‘_load_from_bytes’ on <module ‘torch.storage’ from ‘/home/np9207/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/storage.py’>
The Pickel file is pre-trained model as .pkl