Skip to content

Commit 7c544b3

Browse files
authored
Minor correction in the documentation (#643)
explicitly over-write all the `num_classes` field from default 15 to 5. Here the num_classes should be 5, but it's given 15
1 parent bc1ced4 commit 7c544b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/tutorials/customize_dataset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ model = dict(
7474
bbox_head=dict(
7575
type='RotatedRetinaHead',
7676
# explicitly over-write all the `num_classes` field from default 15 to 5.
77-
num_classes=15))
77+
num_classes=5))
7878
```
7979

8080
#### 2. Check the annotations of the customized dataset
@@ -131,7 +131,7 @@ dataset_A_train = dict(
131131

132132
There are three ways to concatenate the dataset.
133133

134-
1. If the datasets you want to concatenate are in the same type with different annotation files, you can concatenate the dataset configs like the following.
134+
1. If the datasets you want to concatenate are of the same type with different annotation files, you can concatenate the dataset configs like the following.
135135

136136
```python
137137
dataset_A_train = dict(

0 commit comments

Comments
 (0)