5c7517c9175cad2469cf90632339e8a83aed3542,tests/framework/experiment/test_experiment.py,ExperimentTest,setUp,#ExperimentTest#,21

Before Change


                          monitor_metric="loss",
                          monitor_mode="min")
        train_generator = some_finite_data_tensor_generator(2)
        expt.train(train_generator, epochs=1)

        self.test_experiment = Experiment(self.test_checkpoints_path,
                                          nn.Linear(1, 1),
                                          optimizer="sgd",

After Change


        self.optim_ckpt_path = os.path.join(self.test_checkpoints_path, "checkpoint.optim")
        self.tsv_log_path = os.path.join(self.test_checkpoints_path, "log.tsv")
        self.tsv_test_log_path = os.path.join(self.test_checkpoints_path, "test_log.tsv")
        self.epoch_file_path = os.path.join(self.test_checkpoints_path, "last.epoch")

    def tearDown(self):
        self.temp_dir_obj.cleanup()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: GRAAL-Research/pytoune
Commit Name: 5c7517c9175cad2469cf90632339e8a83aed3542
Time: 2021-01-23
Author: fredy_14@live.fr
File Name: tests/framework/experiment/test_experiment.py
Class Name: ExperimentTest
Method Name: setUp


Project Name: tensorflow/minigo
Commit Name: 6823f7b27dc99eeeb3ba7be57dc89d2e1908422a
Time: 2019-09-23
Author: tmadams@google.com
File Name: ml_perf/reference_implementation.py
Class Name:
Method Name: rl_loop


Project Name: ageitgey/face_recognition
Commit Name: 39b587f1aef21060878707696d4e7251d72cd22b
Time: 2018-03-05
Author: ageitgey@gmail.com
File Name: examples/face_recognition_knn.py
Class Name:
Method Name:


Project Name: anhaidgroup/deepmatcher
Commit Name: 60fa2cc0b9c336d86b9dc3887cc73753077b41c4
Time: 2018-03-25
Author: sidharthmsk@gmail.com
File Name: examples/simple_entity_matching.py
Class Name:
Method Name: