Can't pickle local object FastaiDataLoaderWithCollate
See original GitHub issue🐛 Bug
Describe the bug
Cannot train in mask_rcnn_pennfudan.ipynb
with defaults params.
To Reproduce Steps to reproduce the behavior:
git clone https://github.com/airctic/icevision.git
- open
mask_rcnn_pennfudan.ipynb
notebook - run all code in the notebook
- when running
learn.fine_tune(10, 5e-4, freeze_epochs=2)
cell getting this error:Can't pickle local object 'convert_dataloader_to_fastai.<locals>.FastaiDataLoaderWithCollate'
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: windows 10
- conda 4.9.0
- icedata 0.1.0
- icevision 0.2.1.post1
- python 3.6.12
- fastai 2.0.16
- pytorch 1.6.0
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Can't pickle local object - Stack Overflow
I get Can't pickle local object 'exhaust.__init__.<locals>.tour_select' or PermissionError: [WinError 5] Access is denied.
Read more >cant pickle local object | The search engine you control.
I would like to use multiprocess package for example in this code. I've tried to call the function create_new_population and distribute the data...
Read more >Unable to pickle gaussian process - v4 - PyMC Discourse
Hi, in Pymc3 I happily saved the trace and the gaussian process object as a pickle ... AttributeError: Can't pickle local object '_make_nice_attr_error....
Read more >Can't pickle local object 'DataLoader.__init ... - PyTorch Forums
Hi all, I hope everybody reading this is having a great day. So I have a problem with torchvision.transforms.Lambda() function when used ...
Read more >Can't pickle local object - exporting model - Part 1 (2020)
I am trying to export a model but am getting a pickle error. I know that lambda functions cannot be pickled and I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dodoslav I confirm I am using WSL2 too, without issues so far.
Ok thank you guys !