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

[Docs] fix typo in migration.md #1739

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 @@ -358,7 +358,7 @@ model = dict(

Changes in **`data`**:

- The original `data` field is splited to `train_dataloader`, `val_dataloader` and
- The original `data` field is splitted to `train_dataloader`, `val_dataloader` and
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be split, not splited or splitted

`test_dataloader`. This allows us to configure them in fine-grained. For example,
you can specify different sampler and batch size during training and test.
- The `samples_per_gpu` is renamed to `batch_size`.
Expand Down Expand Up @@ -465,7 +465,7 @@ train_pipeline = [

Changes in **`evaluation`**:

- The **`evaluation`** field is splited to `val_evaluator` and `test_evaluator`. And it won't supports `interval` and `save_best` arguments.
- The **`evaluation`** field is splitted to `val_evaluator` and `test_evaluator`. And it won't supports `interval` and `save_best` arguments.
The `interval` is moved to `train_cfg.val_interval`, see [the schedule settings](./user_guides/config.md#schedule-settings) and the `save_best`
is moved to `default_hooks.checkpoint.save_best`, see [the runtime settings](./user_guides/config.md#runtime-settings).
- The 'accuracy' metric is renamed to [`Accuracy`](mmpretrain.evaluation.Accuracy).
Expand Down