da35644f07a8c970d4f571c1ecb94bde3065d8de,oneoffs/oneoff_utils.py,,find_and_filter_sgf_files,#Any#Any#Any#,68
Before Change
print("Finding all sgf files in {} with year >= {} and komi = {}".format(
base_dir, min_year, komi))
count = 0
for dirpath, dirnames, filenames in tqdm(os.walk(base_dir)) :
for filename in filenames:
count += 1
if count % 5000 == 0:
After Change
return sgf_files
f = filter_year_komi(min_year, komi)
filtered_sgf_files = [sgf for sgf in tqdm(sgf_files) if f(sgf)]
print("{} of {} .sgf files matched (min_year >= {}, komi = {})".format(
len(filtered_sgf_files), len(sgf_files), min_year, komi) )
return filtered_sgf_files
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: tensorflow/minigo
Commit Name: da35644f07a8c970d4f571c1ecb94bde3065d8de
Time: 2018-12-29
Author: sethtroisi@google.com
File Name: oneoffs/oneoff_utils.py
Class Name:
Method Name: find_and_filter_sgf_files
Project Name: jindongwang/transferlearning
Commit Name: e6b394f7340cbeee16bf4424cdf0367f80b60619
Time: 2018-12-22
Author: jindongwang@outlook.com
File Name: code/deep/finetune_AlexNet_ResNet/office31.py
Class Name:
Method Name:
Project Name: r9y9/wavenet_vocoder
Commit Name: 7743664b2b960693abd88433b8e5060fa358187f
Time: 2018-01-04
Author: zryuichi@gmail.com
File Name: evaluate.py
Class Name:
Method Name: