Skip to content

Commit 18ec156

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0c94663 commit 18ec156

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

doc/model/show-model-info.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ dp --pt show <INPUT> <ATTRIBUTES...>
1111

1212
- `<INPUT>`: Path to the model checkpoint file or frozen model file.
1313
- `<ATTRIBUTES>`: One or more information categories to display. Supported values are:
14-
1514
- `model-branch`: Shows available branches for multi-task models.
1615
- `type-map`: Shows the type mapping used by the model.
1716
- `descriptor`: Displays the model descriptor parameters.
@@ -33,31 +32,25 @@ dp show frozen_model.pth type-map descriptor fitting-net size
3332
Depending on the provided attributes and the model type, the output includes:
3433

3534
- **Model Type**
36-
3735
- Logs whether the loaded model is a _singletask_ or _multitask_ model.
3836

3937
- **model-branch**
40-
4138
- _Only available for multitask models._
4239
- Lists all available model branches and the special `"RANDOM"` branch, which refers to a randomly initialized fitting net.
4340

4441
- **type-map**
45-
4642
- For multitask models: Shows the type map for each branch.
4743
- For singletask models: Shows the model's type map.
4844

4945
- **descriptor**
50-
5146
- For multitask models: Displays the descriptor parameter for each branch.
5247
- For singletask models: Displays the descriptor parameter.
5348

5449
- **fitting-net**
55-
5650
- For multitask models: Shows the fitting network parameters for each branch.
5751
- For singletask models: Shows the fitting network parameters.
5852

5953
- **size**
60-
6154
- Prints the number of parameters for each component (`descriptor`, `fitting-net`, etc.), as well as the total parameter count.
6255

6356
## Example Output

doc/train/multi-task-training.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ Specifically, there are several parts that need to be modified:
4848
- {ref}`model/model_dict <model/model_dict>`: The core definition of the model part and the explanation of sharing rules,
4949
starting with user-defined model name keys `model_key`, such as `my_model_1`.
5050
Each model part needs to align with the components of the single-task training {ref}`model <model>`, but with the following sharing rules:
51-
5251
- If you want to share the current model component with other tasks, which should be part of the {ref}`model/shared_dict <model/shared_dict>`,
5352
you can directly fill in the corresponding `part_key`, such as
5453
`"descriptor": "my_descriptor", `

0 commit comments

Comments
 (0)