Issue with running Intro on Colab

I didn’t (I was in incognito). Do note that you have to sign into Google in some degree before it’ll let you run anything.

I cloned the course-v4 repository into my drive and opened the notebook from there. By copying do you mean doing it a different way to the one I have mentioned?

I’m still running into this problem using GPU on Google Colab.
Can someone help out please?
Refreshing the page isnt helping.

For folks still getting issues, could you answer a few questions for me so i can try to recreate this?

  1. Have you opened a notebook in Colab before, or is it completely new for the account
  2. How are we opening the Notebook? Are you opening it from the URL in fastbook? Are you opening it from GitHub inside Colab? do you have the notebook downloaded inside of your Google drive?
  3. What browser are you opening it in? If in chrome, are you in incognito mode?

I was running my previous Colab notebook in the Google Chrome browser and running into errors.
Using Mozilla Firefox, the code worked just fine.

Try using a different browser if you face the same issue.

Along with that perhaps clearing the cache

1). I had opened notebooks prior to this with the account.
2). I was opening it from previously searched and hence saved Google Colab URL.
3). Chrome, regular mode.

1 Like

Did it originate from the GitHub? The Colab URLs linked in the Colab setup? (Sorry just a little confused by the answer :slight_smile: )

I used this URL .

Also, maybe try posting a comment with all solutions that have worked so far as it will make it easy for people to solve this problem.

What does !pip show fastai give? Also did we attempt to restart the runtime and then import fastai? Also, which notebook were we trying to run?

What I did to resolve the error message is I saved the Colab file on my Google Drive. I then closed all Colab sessions and reopen the saved file from the drive.

Hope this helps someone.

I too got the same issue as you guys. Initially it was not working properly on CPU or GPU. This thread is really helpful but i believe the answers are too scattered so I will write all the points that actually worked for me.

  1. !pip install pandas==1.1.0 as there is some version issue in colab. This might help to run the notebook using a CPU.
  2. Change runtime to GPU and run the same cells and you’ll get the above error. I did not do anything much . Just restart your runtime and re run the cells. Hopefully there wont be any errors now:)

Having same problem, on Firefox. I’ve used Colab with PyTorch before without any problems.

For me, copying the notebook to my Drive and running the copy got me through the import error and I managed to auth as well. But now I’m getting a TIMEOUT error:

The Drive isn’t full or anything, I also authenticated and gave it permissions, so it shouldn’t be a problem with Drive.

I’ve been running into issues like this on Colab today. Last week it was running fine on Colab. I just gave up and started running on Paperspace Gradient free tier with no issues.

Last week colab was running fine. But today I am getting the pandas incompatibility error during install.
ERROR: fastai 2.0.8 has requirement pandas>=1.1.0, but you’ll have pandas 1.0.5 which is incompatible.

Can someone take a look? @jeremy

This should be fixed using solutions mentioned in this thread

Adding !pip install pandas==1.1.0 at the beginning of the notebook, and run that first.

1 Like

Still experiencing the same issue. I am running win 10 professional and have tried two browsers, Vivaldi and Edge which are both Chromium based. Below is the screenshot. I tried paperspace with more luck but the free tied seems to have vanished.

Hi Andrew,

I solved this by running: !pip install fastai --upgrade -q

I then have to restart the runtime. Occasionally I have to restart twice. Not sure why. I will link to the original thread where I found this solution when I find it.

EDIT: Here is the link to the original thread, though I did not have to downgrade pandas: ModuleNotFoundError: No module named 'fastai.vision.all' on Kaggle Notebook

Warm regards,

Ari

Thanks Ari,
It worked. I created a new cell in the notebook at the very top and entered in the command you provided and ran it.
Thanks