Skip to content

Instantly share code, notes, and snippets.

@bearpaw
Forked from hellock/mmdetection_env.sh
Created June 10, 2019 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bearpaw/b523b7c73754625cce20cc27b05f582a to your computer and use it in GitHub Desktop.
Save bearpaw/b523b7c73754625cce20cc27b05f582a to your computer and use it in GitHub Desktop.
Setup mmdetection with conda
conda create -n open-mmlab python=3.7 -y
source activate open-mmlab
conda install -c pytorch pytorch torchvision -y
conda install cython -y
git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
./compile.sh
pip install -e . # "pip install ." for installation mode
mkdir data
ln -s $COCO_ROOT data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment