[Docs] Fix colab link

This commit is contained in:
mzr1996 2021-12-17 18:07:19 +08:00
parent 643fb192cd
commit b4450b720e
2 changed files with 6 additions and 6 deletions

View File

@ -103,16 +103,16 @@ html_theme_options = {
'Train and inference with shell commands', 'Train and inference with shell commands',
'url': 'url':
'https://colab.research.google.com/github/' 'https://colab.research.google.com/github/'
'open-mmlab/mmclassification/blob/master/docs/tutorials/' 'open-mmlab/mmclassification/blob/master/docs/en/'
'MMClassification_tools.ipynb', 'tutorials/MMClassification_tools.ipynb',
}, },
{ {
'name': 'name':
'Train and inference with Python APIs', 'Train and inference with Python APIs',
'url': 'url':
'https://colab.research.google.com/github/' 'https://colab.research.google.com/github/'
'open-mmlab/mmclassification/blob/master/docs/tutorials/' 'open-mmlab/mmclassification/blob/master/docs/en/'
'MMClassification_python.ipynb', 'tutorials/MMClassification_python.ipynb',
}, },
] ]
}, },

View File

@ -103,7 +103,7 @@ html_theme_options = {
'用命令行工具训练和推理', '用命令行工具训练和推理',
'url': 'url':
'https://colab.research.google.com/github/' 'https://colab.research.google.com/github/'
'open-mmlab/mmclassification/blob/master/docs_zh-CN/' 'open-mmlab/mmclassification/blob/master/docs/zh_CN/'
'tutorials/MMClassification_tools_cn.ipynb', 'tutorials/MMClassification_tools_cn.ipynb',
}, },
{ {
@ -111,7 +111,7 @@ html_theme_options = {
'用 Python API 训练和推理', '用 Python API 训练和推理',
'url': 'url':
'https://colab.research.google.com/github/' 'https://colab.research.google.com/github/'
'open-mmlab/mmclassification/blob/master/docs_zh-CN/' 'open-mmlab/mmclassification/blob/master/docs/zh_CN/'
'tutorials/MMClassification_python_cn.ipynb', 'tutorials/MMClassification_python_cn.ipynb',
}, },
] ]