Welcome to Part 1 (v2)


(Aditya) #61

I am running Pytorch (.3) successfully on Win 10


(Richard Fortenberry) #62

Were you able to follow along with the first lesson?


(Andrea de Luca) #63

No problem, Richard. I’ll keep you posted, should I make any further progress.

I’m fairly convinced I should be able to configure a workstation for deep learning no matter what libraries I use, since that’s a valuable skill to learn by its own.

So you managed to get pytorch working properly on windows 10, which is substantial! :slight_smile: Do you have other libraries installed and/or other versions of cuda?


(Andrea de Luca) #64

Did I manage to run lesson1 nbs? Yes, but with cpu-only pytorch, wich leaves me dissatisfied.

I could switch to linux, but for a number of reasons, I’d rather follow with windows 10, primarily since I have other things to do on that windows box, and rebooting continuously is a nonoption.


(Andrea de Luca) #65

Thanks for your feedback Aditya.

Do you have other versions of cuda installed and/or other DL libraries in other anaconda envs? Thanks!


(Aditya) #66

Yep Cuda 8 and cudnn 6.0

Have Keras, Tensorflow, Pytorch in my environment

Had installed Pytorch from Anaconda Peterjc channel


(Andrea de Luca) #67

Thanks Aditya.

Could you attach the output of “conda list” for your env? Furthermore, I suppose you are using Cuda 8.0 for both TF and Pytorch, am I right?


(Sagar Kashikar) #68

Hi Jeremy

I am already in week 4 of Part 1 (v1) course. Shall I first finish the V1 and then come back to V2 or is it a better idea to restart the V2 course from the beginning?

Thanks
Sagar


(Aditya) #69

Will update when I get access to my laptop…
Currently not at home…


(Andrea de Luca) #71

Thanks, I received your list by email.


(Richard Fortenberry) #72

You got your environment all setup Aditya?


(Richard Fortenberry) #73

Could you possibly help me setup a working environment so that I could follow along with the lessons?


(Aditya) #74

Yep…
On Win 10


(Reshama Shaikh) #75

FYI, there is also a Beginner forum here.

I have two tips sheets which may be helpful for beginners:

If you have a question on what directory you can put your project notebook, there is info in there.

@jeremy I cannot find the post on “How to Ask for Help”. Perhaps we can add it to main wiki?


(Jeremy Howard) #76

Here is that post. http://wiki.fast.ai/index.php/How_to_ask_for_Help


(Andrea de Luca) #77

Thanks to both @reshama eshama and @jeremy (if I can address you on a first name basis).

Now, in order to update instructions to get windows users up and running, this is what worked for me (windows 10 box, with gtx 1070):

a) Create a new anaconda env with python 3.6 and some additional packages:

>conda create -n fastai python=3.6 numpy cython statsmodels opencv

b) Install pytorch for cuda. If you already have a keras/TF setup which works only with cuda 8.0, and want to avoid headaches, you would rather install the cuda 8.0 version:

>activate fastai

>conda install -c peterjc123 pytorch cuda80

However, keep us posted should you manage a successful installation of the cuda9 version alongside TF and cuda8

c) Install fastai library

>pip install fastai

be patient, that will install a lot of stuff.

d) Now you are done, but you may want to install the ipython kernel in order to use lessons’ notebooks and do your own experiments. In my case:

>python -m ipykernel install --user --name fastai --display-name "fastAI custom"

That would be all.

Now, one may want to log in into your workstation remotely. In that case, there are various options, for example:

  1. Using remote desktop (mind that it’s slow if you have a slow or high-latency connection)
  2. Just leaving the notebook server on (unpractical: you would not be able to run administration tasks)
  3. Using “linux on windows” with tmux (install LoW from windows store)

Hope this helps.

Footnote: created a new topic on the beginner forum.


(Reshama Shaikh) #78

Beginners, you may find this helpful:
Where can I put my Jupter Notebook?

(I also added it to the Wiki for Lesson 1)


(Sandip) #79

The fast library simplifies things a lot compared to part 1 v1; for a non-programmer like me, v2 is actually easier than v1. Hope to become a programmer by the time v3 is published :slight_smile:

  1. After v2 is launched on the course website, will the v1 notebooks and videos still be available?
  2. Is it possible to create a video example to explain the core advise that the time is best spent playing with the application side of the code rather than the theory and fundamentals; for example, I do not understand the difference when @jeremy says I want to work in bash and not in the shell or something like that, but I should ignore this for now because it is not on my shortest path to get a feel for the model
  3. Also, is there a way to show how many parameters the model is trying to fit, when we are trying to determine if it needs more data or improved optimizer etc?

(Aditya) #80
  • Everything will remain with just some shuffling of directories like putting all notebooks or n a directory named part1v2 or something equivalent…

  • Don’t know…

  • if we have the model named as m then in Pytorch we can do m.parameters(). This will display Everything…(it’s a bit ugly so I tried it on small networks to make sense out of it…)

Thanks…


(Aditya) #81

Tensorboard for Pytorch…