Last active
December 20, 2020 22:58
-
-
Save hellock/bf23cd7348c727d69d48682cb6909047 to your computer and use it in GitHub Desktop.
Setup mmdetection with conda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
pip install -v -e . | |
mkdir data | |
ln -s $COCO_ROOT data |
That's either create a new data folder or link an existing one I guess, so no need to run the last two lines together
We are currently testing a ready-built version (+ dependencies) on our conda channel: https://anaconda.org/silverpond
These two lines failed. Could you please help me with that.
mkdir data
ln -s $COCO_ROOT data
Where is $COCO_ROOT defined?
You need to set $COCO_ROOT
to the path to the COCO dataset on your machine (that's assuming you want to train on COCO)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does Last cmd line has an error?
ln: failed to create symbolic link './data': File exists