From 7e71f2c870cd4ffe291f00919b219b918e8c8fc0 Mon Sep 17 00:00:00 2001 From: abda <abda@dtu.dk> Date: Tue, 11 Apr 2023 22:15:12 +0200 Subject: [PATCH] Update Chapter10.md --- Chapter10/Chapter10.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Chapter10/Chapter10.md b/Chapter10/Chapter10.md index 489a8fe..9f4642f 100644 --- a/Chapter10/Chapter10.md +++ b/Chapter10/Chapter10.md @@ -9,20 +9,20 @@ You can aslo open it directly in Google Colab from here: ## Run the notebook on DTU Gbar -You can also run the notebook on Gbar on an interactive note. This is done by setting up a Python environment. First you should log onto an interactive GPU node such as 'voltash' by running the following command on the command line: +You can also run the notebook on Gbar on an interactive note. This is done by setting up a Python environment. First you should log onto an interactive GPU node such as `voltash` by running the following command on the command line: `voltash -X` -To set up a Python environment, you can use the script 'env02506.sh'. You should place the file 'env02506.sh' in a folder on the Gbar and then run the command line: +To set up a Python environment, you can use the script `env02506.sh`. You should place the file `env02506.sh` in a folder on the Gbar and then run the command line: -'source env02506.sh' +`source env02506.sh` -The first time you run this, the script will create a new python environment called 'env02506' and activate it. +The first time you run this, the script will create a new python environment called `env02506` and activate it. Then you should install the packages needed which include: -'pip install torch torchvision' -'pip install Pillow' -'pip install notebook' +`pip install torch torchvision` +`pip install Pillow` +`pip install notebook` -Now you are good to go. You can navigate to the folder that you wish to store the code, download the notebook from the link above, and open a jupyter notebook by typing: -'jupyter-notebook' +Now you are good to go. You can navigate to the folder that you wish to store the code, download the notebook from the link above, and open a jupyter notebook by typing the following in the command line: +`jupyter-notebook` -- GitLab