Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
detectron
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
人工智能
detectron
Commits
1b391e78
Commit
1b391e78
authored
May 17, 2019
by
吴升宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gitignore && fix bug
parent
8c1e2afb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
.gitignore
.gitignore
+2
-0
io.py
detectron/utils/io.py
+1
-0
Dockerfile
docker/Dockerfile
+3
-2
No files found.
.gitignore
View file @
1b391e78
...
@@ -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
detectron/utils/io.py
View file @
1b391e78
...
@@ -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'
...
...
docker/Dockerfile
View file @
1b391e78
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment