Jupyter Notebooks and needed files for Autumn School in University of Cambridge
To get the Jupyter Notebooks to work, one needs to install several packages for Python.
Preferably first one installs Anaconda.
After installation there is to create a new conda environment which will contain a neede Python version and all the packages.
The command to create new conda is conda create --name yourenv, where "yourenv" is the name of your environment.
Then one can activate the environment with command conda activate yourenv. (Different in Linux and Windows).
When the environment is activated, one can start to install everything. Next up is alot of lines to execute in your conda environment.
conda install python=3.9
pip install https://github.com/odlgroup/odl/archive/master.zip
From PyTorch-site one can get the command which installs PyTorch
pip install opencv-python-headless
conda install -c astra-toolbox astra-toolbox
conda install matplotlib
In VS Code one can not run (at least this) Jupyter Notebook without the "ipykernel" package. VS Code should ask you if you want to install it.
pip install ipykernel
Lastly one needs to downgrade NumPy and SciPy:
python -m pip install numpy==1.23.5
python -m pip install scipy==1.8.1
The references for the Learned Gradient Scheme and Learned Primal Dual are below:
LGS
LPD