Neural network approach for generating zonotope reachable sets
(Developed and tested on Windows with GPU support)
- Make sure anaconda is setup. Open anaconda prompt
- Create conda environment:
conda env create -f environment.yml
- Activate newly created environment:
conda activate reach-net
- Install cvxpy: https://www.cvxpy.org/install/
- Install cvxpylayers:
pip install cvxpylayers
- Install (latest) pytorch with CUDA support:
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
- Open new anaconda prompt and activate environment
- Run
code
to open VSCode - In bottom left corner of VSCode, select interpreter
'reach-net': conda
- In upper right corner of VSCode, select kernel
'reach-net': conda
(May need to go to Preferences > Search "path" and select "python" and add path to anaconda envs to "Venv Path")