I’m trying to run notebook tests from the command line and getting an error. What am I doing wrong?
> python run_notebook.py --fn 00_test.ipynb
Error in 00_test.ipynb
Traceback (most recent call last):
File "run_notebook.py", line 18, in <module>
slow:Param("Run slow tests", bool)=False, cpp:Param("Run tests that require c++ extensions", bool)=False):
File "/home/jupyter/fastai_dev/dev/local/script.py", line 37, in call_parse
File "run_notebook.py", line 24, in main
for f in sorted(fns): test_nb(f, flags=flags)
File "/home/jupyter/fastai_dev/dev/local/notebook/test.py", line 113, in test_nb
File "/home/jupyter/fastai_dev/dev/local/notebook/test.py", line 110, in test_nb
TypeError: preprocess() missing 1 required positional argument: 'resources'
Where is the “suggested LR” from lr_find? It’s mentioned in v1 docs, but I don’t see it now.
I was looking for a way to quickly pickle some data structure, and stumbled upon this post about not using pickle and instead use MessagePack (which I haven’t tried and no experience with).
What is your opinion on that matter? For example when exporting model/learner.