Then i did start my floyd instance with following command floyd run --gpu+ --env pytorch-0.3 --data festmeter/projects/dogscatsunzip/2/output --mode jupyter
The Jupyter Notebook for Lesson 1 works fine until the cell with the actual classification. I am getting an error that the dataset is read-only!
As I couldn´t find a solution for this very annoying problem i switched to Paperspace which works perfectly for Part 1. Life is so much easier when you have access to a console
Hi @Rinzin and @hkristen, here’s the problem: the FloydHub’s data partitions have read-only permission and the Learner class (declared in learner.py) needs write permission for its task. I have possible 2 workarounds:
Replace line 22 of learner.py: self.tmp_path = os.path.join(self.data.path, tmp_name) with something like self.tmp_path = '/tmp' or self.tmp_path = '/output' if you want to return these files in the Output view.
Copy the dataset folder in a folder with full permission( e.g. with --data fastai/datasets/cats-vs-dogs/2:/cats-vs-dogs): ! cp -R /cats-vs-dogs /cats-vs-dogs2. Then use PATH = "/cats-vs-dogs2/"