c6c9864bd5be1822892e71f640dc71e28ef512ab,src/codebase/tasks.py,RTETask,load_data,#RTETask#Any#Any#,743
Before Change
self.val_data_text = unpack(val_data)
self.test_data_text = unpack(te_data)
log.info("\tFinished processing RTE{1,2,3,5}.")
pdb.set_trace()
class TwitterIrony(Task):
"""
After Change
// need to shuffle the data
dev_sents1, dev_sents2, dev_targs = load_files([os.path.join(path, dev) for dev in devs])
te_sents1, te_sents2, te_targs = load_files([os.path.join(path, test) for test in tests])
n_exs = len(dev_sents1)
split_pt = int(.2 * n_exs)
tmp = list(zip(dev_sents1, dev_sents2, dev_targs))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: jsalt18-sentence-repl/jiant
Commit Name: c6c9864bd5be1822892e71f640dc71e28ef512ab
Time: 2017-12-11
Author: wang.alex.c@gmail.com
File Name: src/codebase/tasks.py
Class Name: RTETask
Method Name: load_data
Project Name: NifTK/NiftyNet
Commit Name: 1cbd443e44286b8469d737911be370ad406cc5ae
Time: 2017-07-30
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/volume_reader.py
Class Name: VolumeReader
Method Name: initialise_reader
Project Name: jsalt18-sentence-repl/jiant
Commit Name: 05a5e9c7c71571a1396adacd305bb0415e9c4170
Time: 2018-07-04
Author: wang.alex.c@gmail.com
File Name: src/evaluate.py
Class Name:
Method Name: write_preds