Clouderizer fastai project broken


#1

I am trying to use clouderizer to run the fast.ai notebooks on Google Colab. However, on the first notebook, I am running:

from fastai.imports import *

and getting:

ModuleNotFoundError: No module named 'bcolz'

I suspect it is a problem of the environment set up for python3, but I don’t know how to solve it.
Also, last weekend, fast.ai updated their library. Is that the reason why the fastai project broke?


#2

Thanks for reporting this. We are working on resolving this. Will update soon.


#3

Found this thread from Jeremy from 2 days ago

Seems we need to modify Clouderizer project to use fastai version < 1. Since the lastest one is not compatible with course notebooks.

I will officially test this and make the changes soon.


#4

I updated the community template to use fastai lib version 0.7.0. That solves the issue for newly created projects.

To fix this for current projects, please do the following

  1. Edit the project and go to SETUP tab
  2. Under startup script, replace the
    pip install https://github.com/fastai/fastai/archive/master.zip
    with
    pip3 install fastai==0.7.0

Let me know if this works.

-Prakash


#5

Hi prakash
I have done that change and got :
ModuleNotFoundError: No module named ‘fastai’

on using !pip install fastai
I found all requirements are satisfied


#6

Its fine. It depends if your notebook is Python 2 or Python 3.


#7

Hi,

could you please help me with the following problem:

During executing of

! wget -NS --content-disposition “https://console.clouderizer.com/givemeinitsh/BbgdAiuW” && bash ./clouderizer_init.sh

i get

[Thread-25] INFO com.clouderizer.client.utils.Logger - Downloading data from drive
[Thread-28] ERROR com.clouderizer.client.utils.Logger - Error reading metadata
java.nio.file.NoSuchFileException: /content/clouderizer/fast.ai/data/.cldzmeta
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:178)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:340)
at java.base/java.nio.file.Files.lines(Files.java:3866)
at java.base/java.nio.file.Files.lines(Files.java:3958)
at com.clouderizer.client.utils.ClouderizerUtil.isInMetadata(ClouderizerUtil.java:347)
at com.clouderizer.client.utils.ClouderizerUtil.TryDownloadDataFromURL(ClouderizerUtil.java:228)
at com.clouderizer.client.utils.ClouderizerUtil.TryDownloadDataFromURL(ClouderizerUtil.java:191)
at com.clouderizer.client.utils.ClouderizerUtil.lambda$5(ClouderizerUtil.java:367)
at com.clouderizer.client.utils.ClouderizerUtil.lambda$10(ClouderizerUtil.java:475)
at com.clouderizer.client.utils.ProcessUtil$2.run(ProcessUtil.java:198)
at java.base/java.lang.Thread.run(Thread.java:844)
Content-Type = application/zip
Content-Disposition = null
Content-Length = 857214334
fileName = dogscats.zip

Could somebody help?
D


#8

Hi

Where are you running your project? Colab / AWS / GCP ??

Have you linked your Google Drive with Clouderizer?

This error can be ignored when we run the project for first time. Do you see this repeatedly?

-Prakash


#9

Hi,

i’m using Colab. I do think that i’ve linked Google Drive with Clouderizer. I tried fastai-v3 and fast.ai, have same problem.

D


#10

Error above is a console log for a missing tracker file. It is normal and should not cause any issue in working on the running project. Do you experience any issue due to this?


#11

It’s working now, but something went wrong. Just in first lesson it doesn’t have all the data.

FileNotFoundError: [Errno 2] No such file or directory: ‘data/dogbreed/labels.csv’


#12

I have only dogcats in the data folder.

Also:

FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/local/lib/python3.6/dist-packages/fastai/weights/resnext_50_32x4d.pth’ in lesson1-rxt50.ipynb


#13

Ok, these errors above were related to fast.ai. I’ve tried fastai-v3 and it does work. But i do have only code/nbs/dl1 folder, no dl2. Is there something wrong or the second part isn’t done yet?


#14

The new version of the course just have the first part. The second part will begin in March, 2019