Search
This page is based on the one of RPZ course.
The evaluation server has the following packages installed:
This setup is recommended by Dmytro Mishkin 1. Install Miniconda, Python version 3.X. 2. Run conda CLI. 3. Run
git clone https://gitlab.fel.cvut.cz/mishkdmy/mpv-python-assignment-templates conda create --name mpv-assignments python=3.13 conda activate mpv-assignments pip3 install torch==2.8.0 torchvision==0.23.0 pip3 install kornia==0.8.2 tqdm notebook matplotlib opencv-contrib-python==4.13.0.92 seaborn tensorboard tensorboardX ipywidgets widgetsnbextension pip3 install kornia_moons --no-deps
For MacOS on Apple Silicon run
For the GPU setup, if you have CUDA-capable GPU (if needed - change CUDA version in command). To find out your CUDA version, run nvidia-smi. You will see something like:
nvidia-smi
Mon Feb 20 16:49:46 2023 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 460.39 Driver Version: 460.39 CUDA Version: 11.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 GeForce GTX 108... On | 00000000:01:00.0 Off | N/A | | 25% 44C P8 18W / 250W | 1MiB / 11178MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ | 1 GeForce GTX 108... On | 00000000:06:00.0 Off | N/A | |ERR! 54C P0 ERR! / 250W | 1MiB / 11178MiB | 75% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+
–extra-index-url https://download.pytorch.org/whl/cu112
git clone https://gitlab.fel.cvut.cz/mishkdmy/mpv-python-assignment-templates conda create --name mpv-assignments-gpu python=3.13 conda activate mpv-assignments-gpu # Change the CUDA wheel tag to match your installed CUDA version (e.g. cu128) pip3 install torch==2.8.0 torchvision==0.23.0 --extra-index-url https://download.pytorch.org/whl/cu128 pip3 install kornia==0.8.2 tqdm notebook matplotlib opencv-contrib-python==4.13.0.92 seaborn tensorboard tensorboardX ipywidgets widgetsnbextension pip3 install kornia_moons --no-deps
4. a) Activate the environment with
conda activate mpv-assignments-cpu-only
PyCharm jupyter environment is buggy and not recommended. You still can use IDE to edit .py files though. It's best to use jupyter-notebook, google colab or jupyter-lab to work with jupyter notebooks, especially interactive ones (as in Correspondences and Tracking blocks.
It is possible to do all the work in cloud Google Colab without installing anything. You would need to have Google account though.
!pip install kornia==0.8.2