906771bf319aa1c5c680638d566b352c63cf6ab2,data/utils.py,,create_manifest,#Any#Any#Any#,16
Before Change
)
return float(output)
file_paths.sort(key=func)
with io.FileIO(manifest_path, "w") as file:
for wav_path in file_paths:
transcript_path = wav_path.replace("/wav/", "/txt/").replace(".wav", ".txt")
sample = os.path.abspath(wav_path) + "," + os.path.abspath(transcript_path) + "\n"
After Change
print("\n")
if ordered:
_order_files(file_paths)
counter = 0
with io.FileIO(manifest_path, "w") as file:
for wav_path in file_paths:
transcript_path = wav_path.replace("/wav/", "/txt/").replace(".wav", ".txt")
sample = os.path.abspath(wav_path) + "," + os.path.abspath(transcript_path) + "\n"
file.write(sample)
counter += 1
_update_progress(counter / float(size))
print("\n")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 906771bf319aa1c5c680638d566b352c63cf6ab2
Time: 2017-02-16
Author: seannaren@hotmail.com
File Name: data/utils.py
Class Name:
Method Name: create_manifest
Project Name: nilearn/nilearn
Commit Name: 3daedc17ddab948752f3d6b90e56b177ea77ec42
Time: 2014-02-26
Author: virgile.fritsch@gmail.com
File Name: nilearn/mass_univariate/permuted_least_squares.py
Class Name:
Method Name: permuted_ols
Project Name: DagnyT/hardnet
Commit Name: 04cd555be76efc7baced753c751c4257d41eb75d
Time: 2017-07-27
Author: ducha.aiki@gmail.com
File Name: EvalMetrics.py
Class Name:
Method Name: ErrorRateAt95Recall