3800c345b9ea68d1e64d1ea8dff1c9e04dabe10a,tgen/parallel_seq2seq_train.py,ParallelSeq2SeqTraining,save_to_file,#ParallelSeq2SeqTraining#Any#,213
Before Change
shutil.move(orig_model_fname, model_fname)
orig_tf_session_fname = re.sub(r"(.pickle)?(.gz)?$", ".tfsess", orig_model_fname)
tf_session_fname = re.sub(r"(.pickle)?(.gz)?$", ".tfsess", model_fname)
shutil.move(orig_tf_session_fname, tf_session_fname)
class Seq2SeqTrainingService(Service):
After Change
orig_clfilter_fname = re.sub(r"((.pickle)?(.gz)?)$", r".tftreecl\1", orig_model_fname)
orig_clfilter_tf_fname = re.sub(r"((.pickle)?(.gz)?)$", r".tfsess", orig_clfilter_fname)
if os.path.isfile(orig_clfilter_fname) and os.path.isfile(orig_clfilter_tf_fname):
clfilter_fname = re.sub(r"((.pickle)?(.gz)?)$", r".tftreecl\1", model_fname)
clfilter_tf_fname = re.sub(r"((.pickle)?(.gz)?)$", r".tfsess", clfilter_fname)
shutil.move(orig_clfilter_fname, clfilter_fname)
shutil.move(orig_clfilter_tf_fname, clfilter_tf_fname)
class Seq2SeqTrainingService(Service):
def __init__(self, conn_ref):
super(Seq2SeqTrainingService, self).__init__(conn_ref)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: UFAL-DSG/tgen
Commit Name: 3800c345b9ea68d1e64d1ea8dff1c9e04dabe10a
Time: 2016-02-26
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/parallel_seq2seq_train.py
Class Name: ParallelSeq2SeqTraining
Method Name: save_to_file
Project Name: tzutalin/labelImg
Commit Name: 544cfb9e3c050ef9333286f8d6cd75117605b890
Time: 2020-09-12
Author: 4982550+chrisrapson@users.noreply.github.com
File Name: libs/labelDialog.py
Class Name: LabelDialog
Method Name: popUp
Project Name: AIRLab-POLIMI/mushroom
Commit Name: 9e781f9da44c12822aaa5066d058e33d2700555f
Time: 2017-11-16
Author: carloderamo@gmail.com
File Name: mushroom/core/core.py
Class Name: Core
Method Name: learn