Skip to content

Commit

Permalink
Fit typo in migration.md (#1858)
Browse files Browse the repository at this point in the history
  • Loading branch information
LareinaM authored Dec 5, 2022
1 parent 3da5476 commit 9c0a206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ Three modes are provided in `forward()` of the estimator:

- `mode == 'predict'`: return the prediction result in the input space, used for model inference

- `mode == 'tensor'`: return the model output in the output space, i.e. model forward propagatin only, for model export
- `mode == 'tensor'`: return the model output in the output space, i.e. model forward propagation only, for model export

Developers should build the components by calling the corresponding registry. Taking the top-down model as an example:

Expand Down Expand Up @@ -466,7 +466,7 @@ init_cfg=dict(
checkpoint='PATH/TO/YOUR_MODEL_WEIGHTS.pth'),
```

If you want to load a checkopoint to your backbone, you should specify the `prefix`:
If you want to load a checkpoint to your backbone, you should specify the `prefix`:

```Python
init_cfg=dict(
Expand Down

0 comments on commit 9c0a206

Please sign in to comment.