68d987e24f34b87f4dd608dc9186b20c1139ed81,deeppavlov/models/evolution/evolution_param_generator.py,ParamsEvolution,first_generation,#ParamsEvolution#,188

Before Change


        for i in range(self.population_size):
            population.append(self.initialize_params_in_config(self.basic_config, self.paths_to_evolving_params))
            for which_path in ["save_path", "load_path"]:
                population[-1] = self.insert_value_or_dict_into_config(
                    population[-1], self.main_model_path + [which_path],
                    str(Path(self.get_value_from_config(self.basic_config, self.main_model_path + [which_path])
                             ).joinpath("population_" + str(iteration)).joinpath("model_" + str(i))))
            population[-1]["evolution_model_id"] = self.evolution_model_id
            self.evolution_model_id += 1

After Change


        for i in range(self.population_size):
            population.append(self.initialize_params_in_config(self.basic_config, self.paths_to_evolving_params))
            for which_path in ["save_path", "load_path"]:
                population[-1] = self.insert_value_or_dict_into_config(
                    population[-1], self.main_model_path + [which_path],
                    str(Path(self.get_value_from_config(self.basic_config, self.main_model_path + [which_path])
                             ).joinpath("population_" + str(iteration)).joinpath("model_" + str(i)).joinpath("model")))
            population[-1]["evolution_model_id"] = self.evolution_model_id
            self.evolution_model_id += 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: 68d987e24f34b87f4dd608dc9186b20c1139ed81
Time: 2018-06-20
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: first_generation


Project Name: deepmipt/DeepPavlov
Commit Name: 68d987e24f34b87f4dd608dc9186b20c1139ed81
Time: 2018-06-20
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: 813813c6ced98bad0f05ddb3e50db65998205dc4
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: 813813c6ced98bad0f05ddb3e50db65998205dc4
Time: 2018-06-26
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: first_generation