Skip to content

Commit

Permalink
Update train-fitting-property.md
Browse files Browse the repository at this point in the history
Change json format

Signed-off-by: Chenqqian Zhang <[email protected]>
  • Loading branch information
Chengqian-Zhang authored Dec 25, 2024
1 parent af8789f commit 6638ba6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions doc/model/train-fitting-property.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ The {ref}`fitting_net <model[standard]/fitting_net>` section tells DP which fitt
The JSON of `property` type should be provided like

```json
"fitting_net" : {
"type": "property",
"intensive": true,
"property_name": "band_prop",
"task_dim": 3,
"neuron": [240,240,240],
"resnet_dt": true,
"seed": 1,
},
"fitting_net" : {
"type": "property",
"intensive": true,
"property_name": "band_prop",
"task_dim": 3,
"neuron": [240,240,240],
"resnet_dt": true,
"seed": 1,
},
```

- `type` specifies which type of fitting net should be used. It should be `property`.
Expand All @@ -47,11 +47,11 @@ DeepProperty supports trainings of the global system (one or more global labels
The loss section should be provided like

```json
"loss" : {
"type": "property",
"metric": ["mae"],
"loss_func": "smooth_mae"
},
"loss" : {
"type": "property",
"metric": ["mae"],
"loss_func": "smooth_mae"
},
```

- {ref}`type <loss/type>` should be written as `property` as a distinction from `ener` mode.
Expand Down

0 comments on commit 6638ba6

Please sign in to comment.