d9f6e28568406c162b79f582ae037a89a3118d26,prep_model.py,,post_process,#Any#Any#Any#Any#Any#Any#,67
Before Change
with open(log_file_path, "r") as f:
log_file_tail = f.read().splitlines()[log_line_num]
top5_err = re.findall(r"\d+\.\d+", re.findall(r", err-top5=\d+\.\d+", log_file_tail)[0])[0].split(".")[1]
sha1_value = calc_sha1(model_file_path)
dst_model_file_name = "{}-{}-{}.{}".format(model_name, top5_err, sha1_value[:8], dst_model_file_ext)
After Change
top5_err = re.findall(r"\d+\.\d+", err5_str[0])[0].split(".")[1]
else:
with open(log_file_path, "r") as f:
log_file_tail = f.read().splitlines()[log_line_num - 1]
err5_str = re.findall(r", err-top5=\d+\.\d+", log_file_tail)
top5_err = re.findall(r"\d+\.\d+", err5_str[0])[0].split(".")[1]
sha1_value = calc_sha1(model_file_path)
dst_model_file_name = "{}-{}-{}.{}".format(model_name, top5_err, sha1_value[:8], dst_model_file_ext)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: osmr/imgclsmob
Commit Name: d9f6e28568406c162b79f582ae037a89a3118d26
Time: 2021-02-16
Author: osemery@gmail.com
File Name: prep_model.py
Class Name:
Method Name: post_process
Project Name: pyinstaller/pyinstaller
Commit Name: d437018f0fca2b15bbdd5b380c1654d354ae5672
Time: 2012-09-13
Author: mzibr.public@gmail.com
File Name: PyInstaller/hooks/shared_PIL_Image.py
Class Name:
Method Name: hook
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: cc137d5842be6910fd8a11a1f09c4f383bc93587
Time: 2017-08-23
Author: gareth-ferneyhough@users.noreply.github.com
File Name: perfkitbenchmarker/linux_benchmarks/gpu_pcie_bandwidth_benchmark.py
Class Name:
Method Name: _ParseOutputFromSingleIteration
Project Name: dit/dit
Commit Name: 03c767ba99ab2e46e97dc5c27a133fa2c3830aaa
Time: 2015-03-14
Author: ryangregoryjames@gmail.com
File Name: setup.py
Class Name:
Method Name: main