Skip to content

Commit

Permalink
Update customize_models.md (#11477)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanhuo authored Feb 23, 2024
1 parent cfd5d3a commit 905fba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh_cn/advanced_guides/customize_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ custom_imports=dict(
到配置文件来实现相同的目的。

如使用,请修改 `loss_xxx` 字段。
因为 MyLoss 是用于回归的,你需要在 Head 中修改 `loss_xxx` 字段。
因为 MyLoss 是用于回归的,你需要在 Head 中修改 `loss_bbox` 字段。

```python
loss_bbox=dict(type='MyLoss', loss_weight=1.0))
Expand Down

0 comments on commit 905fba5

Please sign in to comment.