98c7bceff0688beb82feae55d895b0d3425aeee5,deeppavlov/models/evolution/evolution_param_generator.py,ParamsEvolution,next_generation,#ParamsEvolution#Any#Any#Any#,190
Before Change
next_population[i],
self.get_value_from_config(next_population[i],
self.main_model_path + ["save_path"]),
str(Path(self.get_value_from_config(next_population[i], self.main_model_path + ["save_path"])
).joinpath("population_" + str(iteration)).joinpath("model_" + str(i))))
for i in range(self.n_saved_best_pretrained, self.population_size):
// if several train files
After Change
except:
pass
save_path_prev = self.get_value_from_config(next_population[i], self.main_model_path + ["save_path"])
load_path_prev = self.get_value_from_config(next_population[i], self.main_model_path + ["load_path"])
if self.elitism_with_weights:
// if elite models are saved with weights
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: deepmipt/DeepPavlov
Commit Name: 98c7bceff0688beb82feae55d895b0d3425aeee5
Time: 2018-06-26
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: next_generation
Project Name: deepmipt/DeepPavlov
Commit Name: 938e1cb2b84e62f55ccbeb9e0efde65303b9ef1e
Time: 2018-06-19
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: next_generation
Project Name: deepmipt/DeepPavlov
Commit Name: 98c7bceff0688beb82feae55d895b0d3425aeee5
Time: 2018-06-26
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: mutation
Project Name: deepmipt/DeepPavlov
Commit Name: 938e1cb2b84e62f55ccbeb9e0efde65303b9ef1e
Time: 2018-06-19
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: mutation