diff --git a/MindSpore/src/step2/step2.py b/MindSpore/src/step2/step2.py index 332b721..98a167d 100644 --- a/MindSpore/src/step2/step2.py +++ b/MindSpore/src/step2/step2.py @@ -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)