Skip to content

Commit

Permalink
Update 'bbox_head' to align with new config files
Browse files Browse the repository at this point in the history
In the new version of the config files, the 'bbox_head' dict is inside 'roi_head'. If one follows the old documentation, it results in this following issue - 

open-mmlab#607

This way 'bbox_head' is not repeated and the error is solved.
  • Loading branch information
jistiak authored Dec 2, 2022
1 parent bc1ced4 commit e5ff994
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/en/tutorials/customize_dataset.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ data = dict(

# 2. model settings
model = dict(
bbox_head=dict(
type='RotatedRetinaHead',
# explicitly over-write all the `num_classes` field from default 15 to 5.
num_classes=15))
roi_head=dict(
bbox_head=dict(
# explicitly over-write all the `num_classes` field from default 15 to 5.
num_classes=5)))
```

#### 2. Check the annotations of the customized dataset
Expand Down

0 comments on commit e5ff994

Please sign in to comment.