|
14 | 14 | # --------------------------- |
15 | 15 | # |
16 | 16 | # This tutorial is much faster when a GPU is available to run the computations. |
17 | | -# In Google Colab you can request access to a GPU by changing the runtime type. |
18 | | -# To do so, click the following menu options in Google Colab: |
| 17 | +# In Google Colab you can request access to a GPU by changing the runtime type. |
| 18 | +# To do so, click the following menu options in Google Colab: |
19 | 19 | # |
20 | 20 | # (Menu) "Runtime" -> "Change runtime type" -> "Hardware accelerator" -> "GPU". |
21 | 21 |
|
|
24 | 24 | # ------------------------------------------------------- |
25 | 25 | # |
26 | 26 | # Uncomment and run the following cell to download the tutorial data and |
27 | | -# install the required dependencies |
| 27 | +# install the required dependencies. |
| 28 | + |
| 29 | +# ![ -f "vim-5-for-ccn.tar.gz" ] || gdown --id 1b0I0Ytj06m6GCmfxfNrZuyF97fDo3NZb |
| 30 | +# ![ -d "vim-5" ] || tar xzf vim-5-for-ccn.tar.gz |
| 31 | +# ![ -d "pycortex" ] || git clone https://github.com/gallantlab/pycortex |
| 32 | +# !pip install -q voxelwise_tutorials |
28 | 33 |
|
29 | | -# !gdown --id 1b0I0Ytj06m6GCmfxfNrZuyF97fDo3NZb && \ |
30 | | -# tar xzf vim-5-for-ccn.tar.gz && \ |
31 | | -# pip install -q voxelwise_tutorials && \ |
32 | | -# git clone https://github.com/gallantlab/pycortex |
33 | 34 |
|
34 | 35 | ############################################################################### |
35 | | -# Now run the following cell to set up the environment variables for the tutorials |
36 | | -# and pycortex. |
37 | | - |
| 36 | +# Now run the following cell to set up the environment variables for the |
| 37 | +# tutorials and pycortex. |
| 38 | + |
38 | 39 | import os |
39 | 40 | os.environ['VOXELWISE_TUTORIALS_DATA'] = "/content" |
40 | 41 |
|
|
0 commit comments