Skip to content
Snippets Groups Projects

MPV python assignment templates

Using this repo

The recommended way of using the templates is as follows.

First, you clone the repository:

git clone 

Then, you create a new branch for your solutions:

cd mpv-python-assignment-templates
git checkout -b solutions

After that, you can work on your solutions, commiting as necessary.

In order to update the template, commit all your work and execute:

# download the new template version:
git checkout master
git pull
# and update your solutions branch:
git checkout solutions
git merge master

You can create conda environment with all required packages via

cd conda_env_yaml
# For CPU-only setup run
conda env create -f environment-cpu.yml
# if you have CUDA GPU card use instead
conda env create -f environment-gpu.yml

Keep in mind that the assignments and the assignment templates will be updated during the semester. Always pull the current template version before starting to work on an assignment!