- Create a Fast.ai machine from public templates w/ P4000 and public IP
- $ source deactivate fastai
- $ pip install virtualenv
- $ virtualenv fastai_v1
- $ source activate fastai_v1
- $ pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu92/torch_nightly.html
- $ pip install fastai
- $ git clone https://github.com/fastai/fastai repo-fastai-v1/
- $ cd repo-fastai-v1/
- vim ~/.jupyter/jupyter_notebook_config.py
- c.NotebookApp.allow_origin = '' to c.NotebookApp.allow_origin = '*'
- c.NotebookApp.ip = 'localhost' to c.NotebookApp.ip = '0.0.0.0'
- c.NotebookApp.allow_remote_access = False to c.NotebookApp.allow_remote_access = True
We're trying to run some notebook using the fastai v1 installed globally with pip
- $ jupyter notebook
- Try to execute the first cell, if it executes you're a good to go
- On the dogs_cats.ipynb notebook, add a cell with the following content:
import fastai fastai.version
- It should print
'1.0.6'
this is the version installed with pip
- $ pip uninstall fastai
- $ tools/run-after-git-clone
- $ pip install -e .[dev]
- $ jupyter notebook
-
Try to execute the first cell, if it executes you're a good to go
-
Run the cell with the following content:
import fastai fastai.version
- It should print a differente version from that one showed previously - today 10/17/2018 it was:
'1.0.7.dev0'
this is the version from the repo cloned from GitHub
c.NotebookApp.allow_remote_access = False to c.NotebookApp.allow_remote_access = True
Seems to be missing from conf file, access seems to be working without it.
But following the steps in the guide with
import fastai fastai.version
it gives error that fastai is missing.