Commit de42d895 authored by Baptiste Metge's avatar Baptiste Metge Committed by Francisco Massa

fix INSTALL.md (#510)

* fix INSTALL.md

* fix PR

* Update INSTALL.md
parent f1bba451
...@@ -23,19 +23,8 @@ conda activate maskrcnn_benchmark ...@@ -23,19 +23,8 @@ conda activate maskrcnn_benchmark
# this installs the right pip and dependencies for the fresh python # this installs the right pip and dependencies for the fresh python
conda install ipython conda install ipython
# maskrcnn_benchmark and coco api dependencies
pip install -r requirements.txt
# follow PyTorch installation in https://pytorch.org/get-started/locally/
# we give the instructions for CUDA 9.0
conda install pytorch-nightly cudatoolkit=9.0 -c pytorch
export INSTALL_DIR=$PWD export INSTALL_DIR=$PWD
# install torchvision
cd $INSTALL_DIR
git clone https://github.com/pytorch/vision.git
cd vision
python setup.py install
# install pycocotools # install pycocotools
cd $INSTALL_DIR cd $INSTALL_DIR
...@@ -47,12 +36,21 @@ python setup.py build_ext install ...@@ -47,12 +36,21 @@ python setup.py build_ext install
cd $INSTALL_DIR cd $INSTALL_DIR
git clone https://github.com/facebookresearch/maskrcnn-benchmark.git git clone https://github.com/facebookresearch/maskrcnn-benchmark.git
cd maskrcnn-benchmark cd maskrcnn-benchmark
# maskrcnn_benchmark and coco api dependencies
pip install -r requirements.txt
# follow PyTorch installation in https://pytorch.org/get-started/locally/
# we give the instructions for CUDA 9.0
conda install -c pytorch pytorch torchvision cudatoolkit=9.0
# the following will install the lib with # the following will install the lib with
# symbolic links, so that you can modify # symbolic links, so that you can modify
# the files if you want and won't need to # the files if you want and won't need to
# re-build it # re-build it
python setup.py build develop python setup.py build develop
unset INSTALL_DIR unset INSTALL_DIR
# or if you are on macOS # or if you are on macOS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment