Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.68 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.68 KB

ICTS_ML_SCHOOL

Setting up the environments

Install MiniConda using the instructions at Conda Website

Create a working environment

conda create --name work_env
conda activate work_env

Pytorch installation following PyTorch Website

pip install torch torchvision torchaudio

Pytorch-Geometric installation following PyG Website

pip install torch_geometric
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.0.1+cpu.html

For MAC arm64 users, please use the following command (with OSX version = 13.5)

MACOSX_DEPLOYMENT_TARGET=13.5 CC=clang CXX=clang++ python -m pip --no-cache-dir  install  torch-scatter -f https://data.pyg.org/whl/torch-2.0.1+${cpu}.html
MACOSX_DEPLOYMENT_TARGET=13.5 CC=clang CXX=clang++ python -m pip --no-cache-dir  install  torch-sparse -f https://data.pyg.org/whl/torch-2.0.1+${cpu}.html
MACOSX_DEPLOYMENT_TARGET=13.5 CC=clang CXX=clang++ python -m pip --no-cache-dir  install  torch-cluster -f https://data.pyg.org/whl/torch-2.0.1+${cpu}.html
MACOSX_DEPLOYMENT_TARGET=13.5 CC=clang CXX=clang++ python -m pip --no-cache-dir  install  torch-geometric -f https://data.pyg.org/whl/torch-2.0.1+${cpu}.html
MACOSX_DEPLOYMENT_TARGET=13.5 CC=clang CXX=clang++ python -m pip --no-cache-dir install git+https://github.com/pyg-team/pyg-lib.git

Install uproot and awkward array for reading ROOT files uproot

pip install uproot awkward