I’m trying to run the tutorial on collab. I got the following problems.
- nbdev had to separately pip installed (fixed) Edit: for the tutorial collab notebook
- When trying to create a DataBlock for BIWI dataset Path.load() does not work, I get
'PosixPath' object has no attribute 'load'
I came to know that load() is a method added by fastai from StackOverflow.
I have tried the following imports
- On DataBlock tutorial notebook:
! [[ -e /content ]] && pip install -Uqq fastai # upgrade fastai on colab !pip install nbdev from nbdev.showdoc import show_doc from fastai.data.all import * from fastai.vision.all import *
- On my personal notebook:
!pip install -Uqq fastbook import fastbook fastbook.setup_book() from fastbook import * from fastai import* from fastai.data.all import * from fastai.vision.all import *
Both the notebooks work run perfectly on my local windows machine. But not on Collab which has the GPU VRAM to be able to handle Fastai training.
How can I troubleshoot this?