Edit by browser
This commit is contained in:
parent
45273fb117
commit
65a856f918
|
@ -22,11 +22,11 @@ if __name__ == "__main__":
|
|||
# define the optimizer
|
||||
# 请在此添加代码完成本关任务
|
||||
#********** Begin *********#
|
||||
## 提示:补全优化器的定义
|
||||
|
||||
## 提示:补全优化器的定义,使用 Momentum 优化器
|
||||
|
||||
#********** End **********#
|
||||
|
||||
config_ck = CheckpointConfig(save_checkpoint_steps=1875, keep_checkpoint_max=10)
|
||||
|
||||
# save the network model and parameters for subsequence fine-tuning
|
||||
ckpoint_cb = ModelCheckpoint(prefix="checkpoint_lenet", config=config_ck)
|
||||
# group layers into an object with training and evaluation features
|
||||
|
|
Loading…
Reference in New Issue