1. 准备
Python 3 (Recommend to use Anaconda)
PyTorch >= 1.1
NVIDIA GPU + CUDA
Deformable Convolution v2, we adopt CharlesShang's implementation in the submodule.
网址: https://github.com/CharlesShang/DCNv2
Python packages:
pip install numpy opencv-python lmdb pyyaml pickle matplotlib seaborn
2.安装开始
First, make sure your machine has a GPU, which is required for the DCNv2 module.
Clone the Zooming Slow-Mo repository. We'll call the directory that you cloned Zooming Slow-Mo as ZOOMING_ROOT.
git clone --recursive https://github.com/Mukosame/Zooming-Slow-Mo-CVPR-2020.git
Compile the DCNv2:
cd $ZOOMING_ROOT/codes/models/modules/DCNv2
bash make.sh # build
python test.py # run examples and gradient check
Please make sure the test script finishes successfully without any errors before running the following experiments.