This repository is used for the distribution of exercises for bverI Deep Learning (Part 2).
There are several ways to work on the assignments:
- Google Colab (easiest)
- pip (local install)
- Docker (only linux/amd64 available)
Use Google Colab by clicking on the links below.
Note: After running the notebook on a compute instance it may get stuck on the "import" cell. In that case, restart the kernel / session and run again. It should work then.
Click on the following badge to open the notebook in Google Colab:
Click on the following badge to open the notebook in Google Colab:
Click on the following badge to open the notebook in Google Colab:
Click on the following badge to open the notebook in Google Colab:
pip install .
Depending on your operating system you have to install docker in different ways.
You'll find detailed instructions here: https://docs.docker.com/get-docker
# pull the image
docker login -u read_registry -p glpat-XaJ-SDxB6Qn7j_8USgAF cr.gitlab.fhnw.ch/ml/courses/bveri/hs2024/bveri-exercises-dev-hs2024
docker pull cr.gitlab.fhnw.ch/ml/courses/bveri/hs2024/bveri-exercises-dev-hs2024:latest
Fork this repository by pressing the fork button on the upper right.
Clone into your ml directory (MY_ML_DIR
) using:
git clone MY_REPO_FORK_HTTPS_ADDRESS
# Replace 'MY_ML_DIR' with your local code directory
docker run -it -d \
-p 8881:8881 \
-p 6007:6007 \
--gpus=all \
--shm-size 12G \
-v MY_ML_DIR:/workspace/code \
--name=bveri_hs24 \
cr.gitlab.fhnw.ch/ml/courses/bveri/hs2024/bveri-exercises-dev-hs2024:latest
docker ps -a
Enter http://localhost:8881/lab
in your browser.