!4193 modify epoch for lenet-alexnet

Merge pull request !4193 from wukesong/modify_epoch
pull/4193/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 49426a0639

@ -22,7 +22,7 @@ alexnet_cfg = edict({
'num_classes': 10,
'learning_rate': 0.002,
'momentum': 0.9,
'epoch_size': 1,
'epoch_size': 30,
'batch_size': 32,
'buffer_size': 1000,
'image_height': 227,

@ -22,7 +22,7 @@ mnist_cfg = edict({
'num_classes': 10,
'lr': 0.01,
'momentum': 0.9,
'epoch_size': 1,
'epoch_size': 10,
'batch_size': 32,
'buffer_size': 1000,
'image_height': 32,

Loading…
Cancel
Save