07a6cabcd92c9c5abf1955419e65b9900e0ff64e,tests/test_trainer.py,TestTrainer,test_train_no_character,#TestTrainer#,68

Before Change


                          num_labels=p.label_size,
                          use_crf=False,
                          use_char=False)
        model.build()
        model.compile(loss=model.get_loss(), optimizer="adam")
        trainer = Trainer(model, preprocessor=p)
        trainer.train(self.x_train, self.y_train,
                      x_valid=self.x_valid, y_valid=self.y_valid)

After Change


                          num_labels=p.label_size,
                          use_crf=False,
                          use_char=False)
        model, loss = model.build()
        model.compile(loss=loss, optimizer="adam")
        trainer = Trainer(model, preprocessor=p)
        trainer.train(self.x_train, self.y_train,
                      x_valid=self.x_valid, y_valid=self.y_valid)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: Hironsan/anago
Commit Name: 07a6cabcd92c9c5abf1955419e65b9900e0ff64e
Time: 2018-06-19
Author: light.tree.1.13@gmail.com
File Name: tests/test_trainer.py
Class Name: TestTrainer
Method Name: test_train_no_character


Project Name: Hironsan/anago
Commit Name: 07a6cabcd92c9c5abf1955419e65b9900e0ff64e
Time: 2018-06-19
Author: light.tree.1.13@gmail.com
File Name: anago/wrapper.py
Class Name: Sequence
Method Name: fit


Project Name: Hironsan/anago
Commit Name: 07a6cabcd92c9c5abf1955419e65b9900e0ff64e
Time: 2018-06-19
Author: light.tree.1.13@gmail.com
File Name: tests/test_trainer.py
Class Name: TestTrainer
Method Name: test_train_no_crf