/SS20-DBV-Pra

Primary LanguagePythonMIT LicenseMIT

SS20-DBV-Pra

This Project was created in the course "Praktikum Digitale Bildverarbeitung" by Robert Andreas Fritsch in summer 2020.
The course was led by Prof. Dr. Michael Möller.

LICENSE

see LICENSE

Requirements

  • Python3
  • Pip3

Python Requirements

see requirements.txt

Notice that numpy 1.19.4 currently (Nov. 2020) fails to pass a sanity check due to a bug in the windows runtime.
see bug

Therefor numpy == 1.19.3 is used explicitly.
Later numpy >= 1.19.4 should be used again.

Boost pytorch

If you want pytorch to use cuda choose requirements_no_cuda.txt over requirements.txt
and install pytorch as described here.

Build and Run (windows)

Setup virtual environment

python -m venv --copies .venv
CALL .\.venv\Scripts\activate.bat

python -m pip install --upgrade pip
python -m pip install --upgrade -r .\dbvpra\requirements.txt

Generate ui script

CALL pyside2-uic .\dbvpra\gui\window.ui > .\dbvpra\gui\Ui_window.py

Run the gui

python -m dbvpra.gui

Notice: You can also CALL ".\scripts\*.bat"!

Authors