Skip to content

Commit

Permalink
[docs] update fine_tune_checkpoint specification (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
chengmengli06 authored Nov 24, 2022
1 parent acc66e4 commit 07a1838
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/incremental_train.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ python -m easy_rec.python.train_eval --pipeline_config_path dwd_avazu_ctr_deepmo
增量训练:

```bash
python -m easy_rec.python.train_eval --pipeline_config_path dwd_avazu_ctr_deepmodel.config --edit_config_json='{"train_config.fine_tune_checkpoint": "${bizdate-1}/model.ckpt-50", "train_config.num_steps": 10000}'
python -m easy_rec.python.train_eval --pipeline_config_path dwd_avazu_ctr_deepmodel.config --fine_tune_checkpoint=${bizdate-1}/model.ckpt-50
```

- bizdate是业务日期,一般是运行日期-1day.
Expand Down Expand Up @@ -52,9 +52,9 @@ pai -name easy_rec_ext -project algo_public
-Darn=acs:ram::xxx:role/ev-ext-test-oss
-Dbuckets=oss://easyrec/
-DossHost=oss-cn-beijing-internal.aliyuncs.com
-Dedit_config_json='{"train_config.fine_tune_checkpoint": "oss://easyrec/easy_rec_test/checkpoints/${bizdate-1}/"}'
-Dfine_tune_checkpoint=oss://easyrec/easy_rec_test/checkpoints/${bizdate-1}
-Deval_method='none';
```

- bizdate在dataworks里面是业务日期,一般是运行日期的前一天。
- train_config.fine_tune_checkpoint: fine_tune_checkpoint的路径,可以指定具体的checkpoint,也可以指定一个目录,将自动定位目录里面最新的checkpoint。
- fine_tune_checkpoint: fine_tune_checkpoint的路径,可以指定具体的checkpoint,也可以指定一个目录,将自动定位目录里面最新的checkpoint。

0 comments on commit 07a1838

Please sign in to comment.