I have been trying to follow the instructions for running the first notebook in Colab for the Practical Deep Learning for Coders to no avail.
Following the instructions for Colab here: https://course.fast.ai/start_colab.html I open the first notebook https://colab.research.google.com/github/fastai/fastbook/blob/master/01_intro.ipynb and set it to use GPU.
Afterwards, I try running the first command and get the following error:
ImportError Traceback (most recent call last)
in ()
1 #hide
2 get_ipython().system(âpip install -Uqq fastbookâ)
----> 3 import fastbook
4 fastbook.setup_book()
10 frames
/usr/local/lib/python3.6/dist-packages/torch/onnx/utils.py in ()
19 from torch.jit import _unique_state_dict
20 from torch.onnx import ONNX_ARCHIVE_MODEL_PROTO_NAME, ExportTypes, OperatorExportTypes, TrainingMode
â> 21 from torch._C import ListType, OptionalType, _propagate_and_assign_input_shapes, _assign_output_shapes, _check_onnx_proto
22
23
ImportError: cannot import name â_assign_output_shapesâ
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
âOpen Examplesâ button below.
Any hints? Are there any changes in the documentation that I am missing, as it is quite frustrating to not be able to even run the first part of the introductory notebook.
Thank you in advance.