diff --git a/core/trainers/single_trainer.py b/core/trainers/single_trainer.py index 79fad6e743ae95abb016d5647b62ca5e38b49e72..e1d5eae1f5dd92740cf3f73a124d952819433f09 100755 --- a/core/trainers/single_trainer.py +++ b/core/trainers/single_trainer.py @@ -310,10 +310,6 @@ class SingleTrainer(TranspileTrainer): context['is_exit'] = True def load(self, is_fleet=False): - def name_has_embedding(var): - res = "embedding_1.w_0" == var.name - return res - dirname = envs.get_global_env( "runner." + self._runner_name + ".init_model_path", None) load_vars = envs.get_global_env(