Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
mmdetection3d
Commits
7aab2232
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "da096a4999a02a34c14579383f0a8abb18fba2dd"
Commit
7aab2232
authored
Jun 17, 2020
by
chenkai
Committed by
zhangwenwei
Jun 17, 2020
Browse files
Add doc page
parent
ce79da2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
7 deletions
+28
-7
.gitlab-ci.yml
.gitlab-ci.yml
+21
-5
docs/api.rst
docs/api.rst
+1
-1
docs/conf.py
docs/conf.py
+6
-1
No files found.
.gitlab-ci.yml
View file @
7aab2232
...
@@ -4,6 +4,7 @@ variables:
...
@@ -4,6 +4,7 @@ variables:
stages
:
stages
:
-
linting
-
linting
-
test
-
test
-
deploy
before_script
:
before_script
:
-
echo $PATH
-
echo $PATH
...
@@ -13,7 +14,8 @@ before_script:
...
@@ -13,7 +14,8 @@ before_script:
-
pip --version
-
pip --version
-
python -c "import torch; print(torch.__version__)"
-
python -c "import torch; print(torch.__version__)"
.linting_template
:
&linting_template_def
linting
:
image
:
$PYTORCH_IMAGE
stage
:
linting
stage
:
linting
script
:
script
:
-
pip install flake8==3.7.9 yapf isort
-
pip install flake8==3.7.9 yapf isort
...
@@ -35,10 +37,24 @@ before_script:
...
@@ -35,10 +37,24 @@ before_script:
-
coverage run --branch --source mmdet3d -m pytest tests/
-
coverage run --branch --source mmdet3d -m pytest tests/
-
coverage report -m
-
coverage report -m
linting:pytorch1.3-cuda10:
image
:
$PYTORCH_IMAGE
<<
:
*linting_template_def
test:pytorch1.3-cuda10:
test:pytorch1.3-cuda10:
image
:
$PYTORCH_IMAGE
image
:
$PYTORCH_IMAGE
<<
:
*test_template_def
<<
:
*test_template_def
pages
:
image
:
$PYTORCH_IMAGE
stage
:
deploy
script
:
-
pip install numba==0.48.0
-
pip install sphinx sphinx_rtd_theme recommonmark sphinx_markdown_tables
-
cd docs
-
make html
-
cd ..
-
mkdir -p ./public
-
cp -r docs/_build/html/* ./public
-
ls ./public
artifacts
:
paths
:
-
public
only
:
-
master
docs/api.rst
View file @
7aab2232
...
@@ -40,7 +40,7 @@ utils
...
@@ -40,7 +40,7 @@ utils
:members:
:members:
mmdet3d.datasets
mmdet3d.datasets
--------------
--------------
--
datasets
datasets
^^^^^^^^^^
^^^^^^^^^^
...
...
docs/conf.py
View file @
7aab2232
...
@@ -39,7 +39,12 @@ extensions = [
...
@@ -39,7 +39,12 @@ extensions = [
]
]
autodoc_mock_imports
=
[
autodoc_mock_imports
=
[
'matplotlib'
,
'pycocotools'
,
'terminaltables'
,
'mmdet3d.version'
,
'cv2'
,
'matplotlib'
,
'nuscenes'
,
'PIL'
,
'pycocotools'
,
'pyquaternion'
,
'terminaltables'
,
'mmcv'
,
'mmdet'
,
'mmdet3d.version'
,
'mmdet3d.ops.ball_query'
,
'mmdet3d.ops.furthest_point_sample'
,
'mmdet3d.ops.gather_points'
,
'mmdet3d.ops.group_points'
,
'mmdet3d.ops.interpolate'
,
'mmdet3d.ops.roiaware_pool3d'
,
'mmdet3d.ops.spconv'
,
'mmdet3d.ops.voxel.voxel_layer'
,
'mmdet3d.ops.iou3d'
]
]
# Add any paths that contain templates here, relative to this directory.
# Add any paths that contain templates here, relative to this directory.
...
...
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