Fix the missing numpy module for readthedocs (#182)

* Fix the missing numpy module for readthedocs

* fix the linting
pull/185/head
Kai Chen 2020-02-12 17:12:38 +08:00 committed by GitHub
parent 0874642fb0
commit e127ef28db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ extensions = [
'recommonmark',
]
autodoc_mock_imports = ['cv2', 'torch', 'enum', 'pathlib', 'mmcv._ext']
autodoc_mock_imports = [
'cv2', 'numpy', 'torch', 'enum', 'pathlib', 'mmcv._ext'
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']