In-class discussion: Introductory workshop

you can also do source ~/.bashrc so that it reruns your config

1 Like

You can do everything from your terminal in Mac.

1 Like

or launch a new tab on your terminal and it does the same thing

In crestle
from utils import *
doesn’t work
in Python 2 (ImportError: No module named theano) and Python 3 (ModuleNotFoundError: No module named ‘cPickle’) kernel
e.g. in wordvectors notebook (courses/fastai/deeplearning1/nbs/wordvectors.ipynb)

These are the old notebooks.

@Jeremy Could you give a brief overview of the Course? (For reading ahead).

Also, if I can put in the time, should I go through the previous version of course for broader knowledge?

2 Likes

do you see a directory called fastai?

Python 2 vs Python 3

For people like me who are using version 3 python for first time:

http://python-future.org/compatible_idioms.html

2 Likes

git clone https://github.com/fastai/fastai.git
if you don’t find fastai folder

1 Like

If you are a university student github student developer pack will give $150 aws credits. Got my $150 by using My collage id.

7 Likes

I can launch jupyter notebook from paperspace, but it doesn’t connect when I go to < public_ip >:8888/< token_link_from_log_tail >

How can we open port 8888 in paperspace?

2 Likes

git clone https://github.com/fastai/fastai.git
gives you some idea

1 Like

In reference to the files on github.com/fastai/fastai.git:

  1. What is the difference between the requirements.txt and the environment.yml files?

  2. How do we use these files via Anaconda to ensure the right packages are installed?

1 Like

Yeah. Can I just do ‘conda update’ and expect everything to upgrade?

1 Like

Thank you,
I meant to ask about the newer concepts/different concepts covered in this course compared to the previous one’s syllabus…

To not disturb the existing python set up, you can create an alias command like this and add this to ~/.bash_profile or ~/basrc

alias CONDA3=“export PATH=/Users/username/anaconda3/bin:$PATH”

You can enable anaconda when you exectute CONDA3 alias command.

how did you get it ? I have a github student pack . Where to find the promo code ??

Answered my own question about port 8888:

sudo ufw allow 8888

from here

1 Like

yes, use conda environment do to this

For environment.yml, you can do:

conda env create -f environment.yml

For requirements.txt, you can do:

pip install -r requirements.txt

These commands will ensure the right environment gets created with all the dependencies built in.

5 Likes