PicklingErrorr (fastai v1.0.34 and pythorch v.1.2.0)

Continuing the discussion from Run fastai locally - PicklingErrorr: Can't pickle function crop_pad at … it's not the same object as fastai.vision.transform.crop_pad:

I’m facing the same issues, but with an updated version of fastai(1.0.34) and pythorch(1.2.0). I have all running in Anaconda(1.9.7) and Jupyter Notebook (6.0.0).

The last call:
~\Anaconda3\lib\multiprocessing\reduction.py in dump(obj, file, protocol)
58 def dump(obj, file, protocol=None):
59 ‘’‘Replacement for pickle.dump() using ForkingPickler.’’’
—> 60 ForkingPickler(file, protocol).dump(obj)
62 #

PicklingError: Can’t pickle <function crop_pad at 0x0000018EACFC1840>: it’s not the same object as fastai.vision.transform.crop_pad

1 Like