Step 1 Create the environment by replacing x by the wanted python version : {3.9}, {3.10} or {3.11}.
conda create -y -n osl-action-spotting python=x
conda activate osl-action-spotting
conda install pytorch==2.1.1 torchvision==0.16.1 pytorch-cuda=x -c pytorch -c nvidia
conda install -y cudatoolkit=x -c pytorch
pip install nvidia-dali-cuday
pip install cupy-cudaz
pip install -r requirements.txt
pip install -e .
conda create -y -n osl python=3.11
conda activate osl
conda install pytorch==2.1.1 torchvision==0.16.1 pytorch-cuda=12.1 -c pytorch -c nvidia
pip install --extra-index-url https://pypi.nvidia.com/ nvidia-dali-cuda120
pip install cupy-cuda12x
pip install -r requirements.txt
pip install "numpy<2.0"
pip install -e .
Note: You might need to downgrade numpy!