forked from mindspore-Ecosystem/mindspore
modify epoch
This commit is contained in:
parent
a5850b9551
commit
ae698843c7
|
@ -22,7 +22,7 @@ alexnet_cfg = edict({
|
||||||
'num_classes': 10,
|
'num_classes': 10,
|
||||||
'learning_rate': 0.002,
|
'learning_rate': 0.002,
|
||||||
'momentum': 0.9,
|
'momentum': 0.9,
|
||||||
'epoch_size': 1,
|
'epoch_size': 30,
|
||||||
'batch_size': 32,
|
'batch_size': 32,
|
||||||
'buffer_size': 1000,
|
'buffer_size': 1000,
|
||||||
'image_height': 227,
|
'image_height': 227,
|
||||||
|
|
|
@ -22,7 +22,7 @@ mnist_cfg = edict({
|
||||||
'num_classes': 10,
|
'num_classes': 10,
|
||||||
'lr': 0.01,
|
'lr': 0.01,
|
||||||
'momentum': 0.9,
|
'momentum': 0.9,
|
||||||
'epoch_size': 1,
|
'epoch_size': 10,
|
||||||
'batch_size': 32,
|
'batch_size': 32,
|
||||||
'buffer_size': 1000,
|
'buffer_size': 1000,
|
||||||
'image_height': 32,
|
'image_height': 32,
|
||||||
|
|
Loading…
Reference in New Issue