Skip to content
Merged
Show file tree
Hide file tree
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/user_guides/1_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,14 +575,14 @@ Config (path: demo_config.py): {'backbone': {'type': 'ResNetV1c', 'depth': 101,
In addition, if the original type is tuple, it will be automatically converted to list after this way.

```shell
python demo_script.py demo_config.py --cfg-options backbone.strides="(1, 1, 1, 1)"
python demo_script.py demo_config.py --cfg-options backbone.strides=1,1,1,1
```

```shell
Config (path: demo_config.py): {'backbone': {'type': 'ResNetV1c', 'depth': 50, 'num_stages': 4, 'out_indices': (0, 1, 2, 3), 'dilations': (1, 1, 2, 4), 'strides': [1, 1, 1, 1], 'norm_eval': False, 'style': 'pytorch', 'contract_dilation': True}}
```

```{note}
This modification of only supports modifying configuration items of string, int, float, boolean, None, list and tuple types.
This modification method only supports modifying configuration items of string, int, float, boolean, None, list and tuple types.
More specifically, for list and tuple types, the elements inside them must also be one of the above seven types.
```
Loading