Working code for Lesson 1: [Updated 2025/11/25] Is it a bird? | Kaggle
Long time Ruby & Common LISP developer, not familiar with debugging python, and I got stumped on the first notebook, pickling error during fine tuning.
58 def dump(obj, file, protocol=None):
59 '''Replacement for pickle.dump() using ForkingPickler.'''
---> 60 ForkingPickler(file, protocol).dump(obj)
PicklingError: Can't pickle <function PILBase.__annotate__ at 0x7fc5538835e0>: it's not the same object as fastai.vision.core.PILBase.__annotate__
when serializing dict item '__annotate__'```
Did a lot of searching and don't know where/how to go about fixing this.