conda create -n detector python=3.8
conda activate detector
conda install --name detector ipykernel -y
pip install -r requirement.txt
java -Xmx4g -jar others/visualizer/visualizer.jar -image-dir data/raw/train/images/ -video-dir data/raw/train/videos-frames/ -truth2d data/raw/train/images/annotations/truth2d.txt -solution2d data/raw/train/images/annotations/truth2d.txt -truth3d data/raw/train/videos/annotations -solution3d data/raw/train/videos/annotations
java -Xmx4g -jar others/visualizer/visualizer.jar -image-dir data/raw/train/images/ -video-dir data/raw/train/videos-frames/ -truth2d data/raw/train/images/annotations/pred2d.txt -solution2d data/raw/train/images/annotations/pred2d.txt -truth3d data/raw/train/videos/annotations -solution3d data/raw/train/videos/annotations
# Test
java -Xmx4g -jar others/visualizer/visualizer.jar -image-dir data/raw/test/images/ -video-dir data/raw/test/videos-frames/ -truth2d data/sub/baseline_zero/solution/images/annotations/solution.txt -solution2d data/sub/baseline_zero/solution/images/annotations/solution.txt -truth3d data/sub/baseline_zero/solution/videos/annotations -solution3d data/sub/baseline_zero/solution/videos/annotations
pip install pycocotools
pip install scikit-image
pip install opencv-python
pip install torch torchvision
# Detectron2
CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'