Paperspace setup help

(Harsh Sikka) #538

2 Quick questions folks,

1 - should there be some sort of graphic display of the desktop through the paperspace web client like in the setup video?

2 - is the image up to date? I only see ml1 and dl1 courses in there, shouldn’t there be a second one?


Hi Amy-
I filed a complaint with the Better Business Bureau:
I also wrote to someone at - sorry I can’t find the email. I’m not sure what did it - but I agreed to resolve the issue with the BBB if was refunded. Their billing practices are faulty. There needs to be handshake before the billing starts.
Good luck - don’t get discouraged.


I am getting frustrated with attempts to work on remote machines. I believe I set up everything correctly this time per the instructions given here:
Then I loaded the Jupyter Notebook. I received some error message about expecting a string and receiving a number, or vice versa. I thought that was odd. The notebook loaded anyway. And it appeared to be working fine. Until I realized that there were only 5 executable cells.

I tried reloading the notebook multiple times. No error messages this time, but only 5 cells. I did a git pull for the second time. Still only five cells. I restarted the machine. Still only 5 cells.

So I went to lesson 2. And got the same error: " The error was:

[sprintf] expecting number but found string

See the error console for details."

Here is what the console displays:

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:

[W 17:25:45.617 NotebookApp] Forbidden
[W 17:25:45.617 NotebookApp] 403 GET /api/sessions?=1538688180184 ( 2.00ms referer=
[W 17:25:45.618 NotebookApp] Forbidden
[W 17:25:45.619 NotebookApp] 403 GET /api/terminals?
=1538688180185 ( 0.76ms referer=
[W 17:26:02.436 NotebookApp] Forbidden
[W 17:26:02.436 NotebookApp] 403 GET /api/sessions?=1538688180186 ( 1.37ms referer=
[W 17:26:02.440 NotebookApp] Forbidden
[W 17:26:02.441 NotebookApp] 403 GET /api/terminals?
=1538688180187 ( 0.65ms referer=
[I 17:26:02.457 NotebookApp] 302 GET /?token=557215ff2d4e247928bea3764848a57b70de6b9e273c7b08
( 0.38ms
[I 17:26:12.583 NotebookApp] Kernel started: a95b78b8-b002-4486-ad4b-88d355be1987
[I 17:26:13.108 NotebookApp] Adapting to protocol v5.1 for kernel a95b78b8-b002-4486-ad4b-88d355be1987
[W 17:32:24.569 NotebookApp] Notebook courses/dl1/lesson2-image_models.ipynb is not trusted
[I 17:32:25.068 NotebookApp] Kernel started: 191373b1-be4c-4901-8ac8-f9532592269e
[I 17:32:25.611 NotebookApp] Adapting to protocol v5.1 for kernel 191373b1-be4c-4901-8ac8-f9532592269e

Could someone please advise?

The only unusual occurrence I can think of is when I first tried to copy the IP Address, I clicked on it, so the console tried to load it from the same page, thereby creating an interruption. @dillon @jeremy


I tried getting a new machine. I reinstalled everything. I waited to do conda env update. Before and after I got the same result. The only thing consistent is the IP Address from before. @dillon

(Todd Richard Johnson) #543

As a followup to help others, my Paperspace VM was shutting down due to the 1 hour timeout. If you SSH to the VM and start Jupyter Notebook, then access your Jupyter Notebook server from your local machine, Paperspace will not see your interaction. I bumped the timeout up to 8 hours and have not had trouble since.


I set up fastai on paperspace yesterday, and I want to share a couple of gotchas in case anyone runs into the same problem:

  1. When select linux/ubuntu template, select version 16.04. i don’t believe fastai works with ubuntu v.18
  2. You may get an error about “sudo rm /etc/apt/apt.conf.d/.” when you use the command curl | bash
    I ended up downloading the setup script from (wget and comment out the line “sudo rm /etc/apt/apt.conf.d/.” before running it on the paperspace vm.

(Ly-Bach Truong) #545

Which template should I choose?

There are several resources on the forums and GitHub that points too different machines to choose. For the most part, I think they’re all pointing to getting the public template, but when it comes to choosing a particular machine, the voices seem split between choosing whichever you prefer (out of the M4000, P4000, and P5000) or just choosing the P4000 (links to the resources are attached below).
To the alums still lurking on the forums, please let me know whichever you think is best from your experience!

Reshama Shaikh -
tcvieira -

(antoine mercier) #546


I’m not an expert, but personally I’ve used the P4000 and it worked just fine with all notebooks of Part 1.

So, I think the P4000 is a good option, you will be able to learn efficiently all the material in the course!

(Ly-Bach Truong) #547

Hello Antoine,

Thanks for the advice! I can’t wait to start messing around with the coursework.

(antoine mercier) #548


(Noam Zilo) #549

If this code ever fails, you can also try

(David) #550

So the new promo code from fastai is FASTAIGR45T. I just used it successfully for $10.

If you want to sign up using my referral for extra $10, cash for everyone!

(Mateusz Jurewicz) #551

This may be a little off topic (new to the forums, couldn’t figure out how to start a separate thread) but perhaps this will be useful to someone.

I recommend using Paperspace - it was a good alternative from AWS in Europe for both my personal projects and company work. However I kept running into a seemingly random ResourceExhaustedError on the GPU when training/retraining keras-based nasnet, xception & resnet models. This was on a dedicated P6000 instance, based on the template “ML-in-a-box” on Ubuntu 16.0, which comes with a desktop jupyter notebooks application.

I originally Paperspace’s support team pointed me to this known issue: Later on it turned out that using the jupyter desktop app spawned but didn’t kill lots of processes in the background, leading to the GPU memory getting exhausted. The error in the notebook (when using the fit_generator() method) can be found at the bottom of this post.

So, in case you’re running into GPU resource exhausted errors, try using e.g. htop to see if there aren’t some unexpected processes eating them up.

Have a great day!

[[Node: training/Adam/gradients/dense_1/MatMul_grad/MatMul_1 = MatMul[T=DT_FLOAT, _class=["loc:@dense_1/MatMul"], transpose_a=true, transpose_b=false, _device="/job:localhost/replica:0/task:0/device:GPU:0"](flatten_1/Reshape, training/Adam/gradients/dense_1/Relu_grad/ReluGrad)]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.```



I followed the instruction in until Part IV, step 2.5, but now get stuck. I get the following error: Config option allow_remote_access not recognized by NotebookApp

I also tried following the “Optional” section so that I can do “ssh paper space”, but again still cannot access jupyter notebook.

What should I do? Thanks!


I followed the instructions on and I am getting stuck on step 2.5. Step 2.5: SSH into machine and redirect local localhost to machine localhost. Once I enter the password I get bind: Permission denied.

Any help with this would be GREATELY appreciated as I can’t launch a notebook at all.




My Paperspace machine cannot find conda and jupyter command. How can I reinstall the machine without creating a new one?

Great patience for all learners =)

(Chris Bobbe) #555

Hmmm, it looks like both the FASTAI15 and the FASTAIGR45T promo codes have expired; is there a new one?

(Vasu) #557

Hi Chris,

You can use my referral NR76THL [] or anyone else’s to get $10 credit


Hello Dan ( @dkobran ),

Does paying for Paperspace requires Stripe as a Visa authentication service?

In the case that Stripe is not available in my country (Israel), is there a workaround?