Fix readthedocs (#35)

Signed-off-by: lizz <lizz@sensetime.com>
pull/37/head
lizz 2021-04-09 16:39:21 +08:00 committed by GitHub
parent b8abcae570
commit 3282e433f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -38,7 +38,9 @@ extensions = [
'sphinx_markdown_tables', 'sphinx_markdown_tables',
] ]
autodoc_mock_imports = ['torch', 'torchvision', 'mmcv', 'mmocr.version'] autodoc_mock_imports = [
'torch', 'torchvision', 'mmcv', 'mmocr.version', 'mmdet'
]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']

View File

@ -1,4 +1,3 @@
numpy
recommonmark recommonmark
sphinx sphinx
sphinx_markdown_tables sphinx_markdown_tables

View File

@ -3,8 +3,6 @@ kwarray
lmdb lmdb
matplotlib matplotlib
mmcv mmcv
mmdet==2.9.0
numpy
Polygon3 Polygon3
pyclipper pyclipper
rapidfuzz rapidfuzz