Here is what worked for me on initial setup on Paperspace, after the recent updates caused issues.
-
For the most part, Reshma’s instructions worked, with 2 changes:
https://github.com/reshamas/fastai_deeplearn_part1/blob/master/tools/paperspace.md -
When running conda env update, I got the following error:
$ conda env update
Using Anaconda API: https://api.anaconda.org
Fetching package metadata …
Solving package specifications: .
Invalid requirement: ‘torchtext=0.2.3’
= is not a valid operator. Did you mean == ?
CondaValueError: pip returned an error.
To resolve, I edited the environment.yml file by doing following
nano environment.yml (this opens the file for editing)
scrolling down to ‘torchtext=0.2.3’ and adding changing ‘=’ to ‘==’’
saving and exiting the file
- I then followed the new Jupyter Notebook instructions that Reshma had, including opening my local terminal. It kept not working until I changed the ‘8889’ in the notebook url to ‘8888’. Boom, that worked!
I really struggled to get through this, as much of this is not native. I am hopeful this helps even one person!