a3d6b8862c04894b903a269ed6f7f16a9899e320,tgen/parallel_seq2seq_train.py,ParallelSeq2SeqTraining,train,#ParallelSeq2SeqTraining#Any#Any#Any#,83

Before Change


                time.sleep(self.poll_interval)

            // select the best result on devel data + save it
            log_info("Results:" + unicode(results))
            best_cost, best_sc = min(results, key=lambda res: res[0])
            log_info("Best cost: %f (computed at %s:%d)." % (best_cost, best_sc.host, best_sc.port))
            self.model_temp_path = os.path.join(self.work_dir, self.TEMPFILE_NAME)
            log_info("Saving best generator temporarily to %s..." % self.model_temp_path)

After Change


                log_debug("Sleeping.")
                time.sleep(self.poll_interval)

            log_info("Results:\n" + "\n".join("%.5f %s:%d" % (cost, sc.host, sc.port)
                                              for cost, sc in results))

            self.model_temp_path = os.path.join(self.work_dir, self.TEMPFILE_NAME)
            // average the computed models
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: UFAL-DSG/tgen
Commit Name: a3d6b8862c04894b903a269ed6f7f16a9899e320
Time: 2016-03-07
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/parallel_seq2seq_train.py
Class Name: ParallelSeq2SeqTraining
Method Name: train


Project Name: UFAL-DSG/tgen
Commit Name: 33c643f35b2ce194f5b092bb81994a9668a02a8d
Time: 2014-10-31
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/rank.py
Class Name: PerceptronRanker
Method Name: _training_iter


Project Name: UFAL-DSG/tgen
Commit Name: 95d5ace25456c186f7a914e690d1f69bac184889
Time: 2016-01-15
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/seq2seq.py
Class Name: Seq2SeqGen
Method Name: _init_training