Edit by browser
This commit is contained in:
parent
1109ba19a3
commit
45273fb117
|
@ -12,19 +12,20 @@ if __name__ == "__main__":
|
|||
epoch_size = 1
|
||||
mnist_path = "./MNIST_Data"
|
||||
# 请在此添加代码完成本关任务
|
||||
# **********Begin*********#
|
||||
##提示:补全损失函数的定义
|
||||
#********** Begin *********#
|
||||
## 提示:补全损失函数的定义
|
||||
|
||||
# **********End**********#
|
||||
#********** End **********#
|
||||
repeat_size = epoch_size
|
||||
# create the network
|
||||
network = LeNet5()
|
||||
# define the optimizer
|
||||
# 请在此添加代码完成本关任务
|
||||
# **********Begin*********#
|
||||
##提示:补全优化器的定义
|
||||
#********** Begin *********#
|
||||
## 提示:补全优化器的定义
|
||||
|
||||
# **********End**********#
|
||||
|
||||
#********** End **********#
|
||||
|
||||
# save the network model and parameters for subsequence fine-tuning
|
||||
ckpoint_cb = ModelCheckpoint(prefix="checkpoint_lenet", config=config_ck)
|
||||
|
|
Loading…
Reference in New Issue