I am unable to run the Lesson 13 notebook 00_load_data.ipynb
in Google Colab. Can anyone help?
Here is what I did:
First, in Firefox (Windows 10 64-bit), I ran install_latest_swift.ipynb, with the result
The newly installed Swift build is:
Swift version 5.0-dev (LLVM dcb9eb74a7, Clang 95cdf7c9af, Swift dc31c3fcd2)
Then I obtained a fresh-out-of-the-oven copy of the notebook, directly from the fastai/fasta_docs/dev_swift/ folder in the current fastai master repo. Here is how: from the menu in the install_latest_swift.ipynb
notebook that you just opened, choose File
, Upload notebook...
, choose the GITHUB
tab from the popup menu, on the first line type fastai/fastai_docs
and hit Return
to specify the repo (the branch shows as MASTER
), scroll way down through the list of files to find the notebook at dev_swift/00_load_data.ipynb
, then (finally!) click the arrowed box at the right of the selected file name, which opens the notebook in Colab, in a new tab.
Selecting Runtime
from the menu across the top of the notebook, then Change runtime type
from the resulting pull-down menu shows that the Hardware accelerator state is None
. An attempt to run the first cell in that notebook first pops up a window with a warning: uncheck the Reset all runtimes
box and click Run anyway
. Then it throws this error:
Kernel is in a bad state. Try restarting the kernel.
Exception in `_process_installs`:
[Errno 17] File exists: '/content/swift-install' -> '/tmp/tmpitzk7hqp/swift-install'
Selecting Runtime
, Change runtime type
from the menu, setting Hardware accelerator to GPU
, and again attempting to run the first cell throws this error on the first line:
error: <Cell 2>:1:18: error: consecutive statements on a line must be separated by ';'
%install-location $cwd/swift-install
Curiously, there are two different failure modes, one when Hardware accelerator
state is None
, one when Hardware accelerator
state is GPU
!
What have I done wrong? Does anyone know how to make this work?