2a74e12fec206dd222f98cd3ac2a15c48ebdf0a9,data/prepare_train_data.py,,main,#,59
Before Change
for scene in tqdm(data_loader.scenes):
dump_example(args, scene)
else:
Parallel(n_jobs=args.num_threads)(delayed (dump_example)(args, scene) for scene in tqdm(data_loader.scenes))
print("Generating train val lists")
np.random.seed(8964)
After Change
dump_example(args, scene)
else:
with ProcessPool(max_workers=args.num_threads) as pool:
tasks = pool.map(dump_example, [args]*n_scenes, data_loader.scenes)
try:
for _ in tqdm(tasks.result(), total=n_scenes):
pass
except KeyboardInterrupt as e:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances Project Name: ClementPinard/SfmLearner-Pytorch
Commit Name: 2a74e12fec206dd222f98cd3ac2a15c48ebdf0a9
Time: 2019-02-18
Author: clement.pinard@parrot.com
File Name: data/prepare_train_data.py
Class Name:
Method Name: main
Project Name: EpistasisLab/scikit-rebate
Commit Name: 971719830d589eba66434ddabfc62c1a689be677
Time: 2017-04-07
Author: weixuanf@upenn.edu
File Name: skrebate/relieff.py
Class Name: ReliefF
Method Name: _run_algorithm
Project Name: etal/cnvkit
Commit Name: 29db4abdbeb839340ac5b0caf934ebda93892934
Time: 2017-02-24
Author: eric.talevich@gmail.com
File Name: scripts/coverage_bin_size.py
Class Name:
Method Name: print_table
Project Name: miso-belica/sumy
Commit Name: c0a5504ce6ff8a850eabd5a33488ccf535a55b4f
Time: 2013-05-21
Author: miso.belica@gmail.com
File Name: sumy/summarizers/edmundson_key.py
Class Name: EdmundsonKeyMethod
Method Name: _compute_significant_words