Home
last modified time | relevance | path

Searched refs:keep_checkpoint_max (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/tests/ut/python/train/
Dtest_run_config.py24 keep_checkpoint_max = 5
27 keep_checkpoint_max)
30 assert config.keep_checkpoint_max == keep_checkpoint_max
32 assert policy['keep_checkpoint_max'] == keep_checkpoint_max
40 assert config.keep_checkpoint_max == 5
48 CheckpointConfig(keep_checkpoint_max='abc')
57 CheckpointConfig(keep_checkpoint_max=-1)
/third_party/mindspore/mindspore/train/callback/
D_checkpoint.py140 keep_checkpoint_max=5, argument
153 if keep_checkpoint_max is not None:
154 keep_checkpoint_max = Validator.check_non_negative_int(keep_checkpoint_max)
163 not keep_checkpoint_max and not keep_checkpoint_per_n_minutes:
172 self._keep_checkpoint_max = keep_checkpoint_max
198 def keep_checkpoint_max(self): member in CheckpointConfig
241 'keep_checkpoint_max': self.keep_checkpoint_max,
412 …if self._config.keep_checkpoint_max and 0 < self._config.keep_checkpoint_max <= self._manager.ckpo…
/third_party/mindspore/tests/ut/python/utils/
Dtest_callback.py96 keep_checkpoint_max=5,
198 keep_checkpoint_max=5,
227 keep_checkpoint_max=0,
256 keep_checkpoint_max=5,
372 keep_checkpoint_max=5,
/third_party/mindspore/tests/st/model_zoo_tests/DeepFM/src/
Dconfig.py60 keep_checkpoint_max = 15 variable in TrainConfig
Ddeepfm.py366 keep_checkpoint_max=self.train_config.keep_checkpoint_max)
/third_party/mindspore/tests/st/quantization/lenet_quant/
Dtest_lenet_quant.py78 keep_checkpoint_max=cfg.keep_checkpoint_max)
/third_party/mindspore/mindspore/nn/probability/toolbox/
Duncertainty_evaluation.py135 keep_checkpoint_max=self.epochs)
187 config_ck = CheckpointConfig(keep_checkpoint_max=self.epochs)
/third_party/mindspore/tests/st/model_zoo_tests/wide_and_deep/
Dtrain_and_test_multinpu_ci_data_parallel.py96 …config = CheckpointConfig(save_checkpoint_steps=ds_train.get_dataset_size(), keep_checkpoint_max=5)
/third_party/mindspore/tests/ut/python/parallel/
Dtest_parameter_merge.py88 ckpt_config = CheckpointConfig(keep_checkpoint_max=1)
/third_party/mindspore/tests/st/mem_reuse/
Dresnet_cifar_memreuse.py140 config_ck = CheckpointConfig(save_checkpoint_steps=batch_num * 5, keep_checkpoint_max=10)
Dresnet_cifar_normal.py140 config_ck = CheckpointConfig(save_checkpoint_steps=batch_num * 5, keep_checkpoint_max=10)
/third_party/mindspore/tests/st/tbe_networks/
Dresnet_cifar.py141 config_ck = CheckpointConfig(save_checkpoint_steps=batch_num * 5, keep_checkpoint_max=10)
/third_party/mindspore/tests/st/auto_parallel/
Doptimizer_parallel.py262 ckpt_config = CheckpointConfig(keep_checkpoint_max=1)
Dmultifieldembeddinglookup_parallel.py252 ckpt_config = CheckpointConfig(keep_checkpoint_max=1)
Dparallel_strategy_search.py287 ckpt_config = CheckpointConfig(keep_checkpoint_max=1)