Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Fit typo in migration.md #1858

Merged
merged 1 commit into from
Dec 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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