forked from mindspore-Ecosystem/mindspore
!6663 fix multi-servers execution bug
Merge pull request !6663 from guoqi/master
This commit is contained in:
commit
6ddf805807
|
@ -188,4 +188,4 @@ if __name__ == '__main__':
|
||||||
if args_opt.net == "se-resnet50":
|
if args_opt.net == "se-resnet50":
|
||||||
config.epoch_size = config.train_epoch_size
|
config.epoch_size = config.train_epoch_size
|
||||||
model.train(config.epoch_size - config.pretrain_epoch_size, dataset, callbacks=cb,
|
model.train(config.epoch_size - config.pretrain_epoch_size, dataset, callbacks=cb,
|
||||||
dataset_sink_mode=(not args_opt.parameter_server))
|
sink_size=dataset.get_dataset_size(), dataset_sink_mode=(not args_opt.parameter_server))
|
||||||
|
|
Loading…
Reference in New Issue