Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Chapter10.md 1.32 KiB

Material for Chapter 10

The notebook the exercise in Chapter 10 is available from here: Notebook for mini U-net

You can aslo open it directly in Google Colab from here: Open in Colab

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:

'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:

'source env02506.sh'

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'