Skip to content

Commit

Permalink
add docs zh-CN tutorial2
Browse files Browse the repository at this point in the history
  • Loading branch information
luminxu committed Jul 22, 2021
1 parent 4b81396 commit 382f56d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs_zh-CN/tutorials/2_new_dataset.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# 教程 2: 增加新的数据集

## 通过组织数据格式来自定义数据集

### 将数据集组织为现有格式
## 通过将数据组织为已有格式来添加自定义数据集

使用自定义数据集最简单的方法是将其转换为现有的COCO数据集格式。

Expand Down Expand Up @@ -60,7 +58,7 @@ Json文件中必须包含以下三个关键字:

- `images`: 包含图片信息的列表,提供图片的 `file_name``height``width``id` 等信息。
- `annotations`: 包含实例标注的列表。
- `categories`包含数据集中分类的名称 ('person') 和对应的 ID (1)。
- `categories`包含类别名称 ('person') 和对应的 ID (1)。

在数据预处理完成后,用户需要修改配置文件以使用该数据集。

Expand Down

0 comments on commit 382f56d

Please sign in to comment.