3d264dbee5fefb6851ffe9ae8466bb18bfb7bc64,deeppavlov/core/commands/train.py,,train_agent_models,#Any#,19

Before Change


        model_config = skill_config["model"]
        model_name = model_config["name"]

        if issubclass(REGISTRY[model_name], Trainable):
            reader_config = skill_config["dataset_reader"]
            reader = from_params(REGISTRY[reader_config["name"]], {})
            data = reader.read(reader_config.get("data_path", usr_dir))

            dataset_config = skill_config["dataset"]

After Change



        if issubclass(get_model(model_name), Trainable):
            reader_config = skill_config["dataset_reader"]
            reader = from_params(get_model(reader_config["name"]), {})
            data = reader.read(reader_config.get("data_path", usr_dir))

            dataset_config = skill_config["dataset"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: 3d264dbee5fefb6851ffe9ae8466bb18bfb7bc64
Time: 2018-01-24
Author: yoptar@gmail.com
File Name: deeppavlov/core/commands/train.py
Class Name:
Method Name: train_agent_models


Project Name: deepmipt/DeepPavlov
Commit Name: 3d264dbee5fefb6851ffe9ae8466bb18bfb7bc64
Time: 2018-01-24
Author: yoptar@gmail.com
File Name: deeppavlov/core/commands/train.py
Class Name:
Method Name: train_agent_models


Project Name: deepmipt/DeepPavlov
Commit Name: 3d264dbee5fefb6851ffe9ae8466bb18bfb7bc64
Time: 2018-01-24
Author: yoptar@gmail.com
File Name: deeppavlov/core/commands/train.py
Class Name:
Method Name: train_batches


Project Name: deepmipt/DeepPavlov
Commit Name: 3d264dbee5fefb6851ffe9ae8466bb18bfb7bc64
Time: 2018-01-24
Author: yoptar@gmail.com
File Name: deeppavlov/core/commands/train.py
Class Name:
Method Name: train_model_from_config