Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.13 KB

INSTALL.md

File metadata and controls

51 lines (39 loc) · 1.13 KB

Create Environment

conda create -n ivnet python=3.8.13 pip conda activate ivnet

Install pytorch 1.11.0

conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch

Dependencies

pip install scipy
pip install pandas
pip install scikit-learn
pip install ftfy
pip install regex

Install other dependencies and PySlowFast

more details can be viewed in PySlowFast_Install

  • Ensure GCC >= 4.9
pip install 'git+https://github.com/facebookresearch/fvcore'
pip install simplejson
conda install av -c conda-forge
pip install -U iopath
pip install psutil
pip install opencv-python
pip install tensorboard
git clone https://github.com/facebookresearch/pytorchvideo.git
cd pytorchvideo
pip install -e .
git clone https://github.com/facebookresearch/detectron2 detectron2_repo
pip install -e detectron2_repo
pip install 'git+https://github.com/facebookresearch/fairscale'

Build SlowFast in FROSTER

export PYTHONPATH=/path/to/FROSTER/slowfast:$PYTHONPATH
cd FROSTER
python setup.py build develop