mirror of
https://github.com/open-mmlab/mmpretrain.git
synced 2025-06-03 14:59:18 +08:00
[Docs] Fix some typo in docs.
This commit is contained in:
parent
a865d64208
commit
b5bd87d7fa
@ -81,7 +81,6 @@ Optional arguments:
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
Assume that you have already downloaded the checkpoints to the directory `checkpoints/`.
|
|
||||||
Infer ResNet-50 on ImageNet validation set to get predicted labels and their corresponding predicted scores.
|
Infer ResNet-50 on ImageNet validation set to get predicted labels and their corresponding predicted scores.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
@ -5,7 +5,7 @@ This tutorial provides instructions for users to use the models provided in the
|
|||||||
|
|
||||||
There are two steps to fine-tune a model on a new dataset.
|
There are two steps to fine-tune a model on a new dataset.
|
||||||
|
|
||||||
- Add support for the new dataset following [Tutorial 2: Adding New Dataset](new_dataset.md).
|
- Add support for the new dataset following [Tutorial 3: Adding New Dataset](new_dataset.md).
|
||||||
- Modify the configs as will be discussed in this tutorial.
|
- Modify the configs as will be discussed in this tutorial.
|
||||||
|
|
||||||
Assume we have a ResNet-50 model pre-trained on the ImageNet-2012 dataset and want
|
Assume we have a ResNet-50 model pre-trained on the ImageNet-2012 dataset and want
|
||||||
|
@ -81,8 +81,6 @@ python tools/test.py ${CONFIG_FILE} ${CHECKPOINT_FILE} [--metrics ${METRICS}] [-
|
|||||||
|
|
||||||
例子:
|
例子:
|
||||||
|
|
||||||
假定用户将下载的模型权重文件放置在 `checkpoints/` 目录下。
|
|
||||||
|
|
||||||
在 ImageNet 验证集上,使用 ResNet-50 进行推理并获得预测标签及其对应的预测得分。
|
在 ImageNet 验证集上,使用 ResNet-50 进行推理并获得预测标签及其对应的预测得分。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
在新数据集上微调模型分为两步:
|
在新数据集上微调模型分为两步:
|
||||||
|
|
||||||
- 按照 [教程 2:如何增加新数据集](new_dataset.md) 添加对新数据集的支持。
|
- 按照 [教程 3:如何增加新数据集](new_dataset.md) 添加对新数据集的支持。
|
||||||
- 按照本教程中讨论的内容修改配置文件
|
- 按照本教程中讨论的内容修改配置文件
|
||||||
|
|
||||||
假设我们现在有一个在 ImageNet-2012 数据集上训练好的 ResNet-50 模型,并且希望在
|
假设我们现在有一个在 ImageNet-2012 数据集上训练好的 ResNet-50 模型,并且希望在
|
||||||
|
Loading…
x
Reference in New Issue
Block a user