Commit 1b391e78 authored by 吴升宇's avatar 吴升宇

fix gitignore && fix bug

parent 8c1e2afb
...@@ -22,3 +22,4 @@ detectron/datasets/data/* ...@@ -22,3 +22,4 @@ detectron/datasets/data/*
# Generated C files # Generated C files
detectron/utils/cython_*.c detectron/utils/cython_*.c
.idea/
\ No newline at end of file
...@@ -33,6 +33,7 @@ from uuid import uuid4 ...@@ -33,6 +33,7 @@ from uuid import uuid4
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
# _DETECTRON_S3_BASE_URL = 'https://dl.fbaipublicfiles.com/detectron'
_DETECTRON_S3_BASE_URL = 'https://dl.fbaipublicfiles.com/detectron' _DETECTRON_S3_BASE_URL = 'https://dl.fbaipublicfiles.com/detectron'
......
...@@ -8,10 +8,11 @@ ENV PYTHONPATH /usr/local/caffe2_build:${PYTHONPATH} ...@@ -8,10 +8,11 @@ ENV PYTHONPATH /usr/local/caffe2_build:${PYTHONPATH}
ENV LD_LIBRARY_PATH /usr/local/caffe2_build/lib:${LD_LIBRARY_PATH} ENV LD_LIBRARY_PATH /usr/local/caffe2_build/lib:${LD_LIBRARY_PATH}
# Clone the Detectron repository # Clone the Detectron repository
RUN git clone https://github.com/facebookresearch/detectron /detectron RUN git clone git@git.wanmeizhensuo.com:wushengyu/detectron.git /detectron
RUN cd /detectron && git checkout d56e267
# Install Python dependencies # Install Python dependencies
RUN pip install -r /detectron/requirements.txt RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r /detectron/requirements.txt
# Install the COCO API # Install the COCO API
RUN git clone https://github.com/cocodataset/cocoapi.git /cocoapi RUN git clone https://github.com/cocodataset/cocoapi.git /cocoapi
......
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