Unverified Commit 76d9bf1e authored by Zaida Zhou's avatar Zaida Zhou Committed by GitHub
Browse files

[Docs] Fix error when cv2 is mocked (#1152)

parent 797ef57e
......@@ -54,9 +54,7 @@ extensions = [
'sphinx_markdown_tables'
] # yapf: disable
autodoc_mock_imports = [
'cv2', 'mmcv._ext', 'mmcv.utils.ext_loader', 'torchvision'
]
autodoc_mock_imports = ['mmcv._ext', 'mmcv.utils.ext_loader', 'torchvision']
autosectionlabel_prefix_document = True
# Add any paths that contain templates here, relative to this directory.
......
m2r
opencv-python
sphinx_markdown_tables
torch
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