55e6def4d984c34679ab3c48a90055e93d351f79,feat_extract.py,,,#,89

Before Change



if __name__ == "__main__":
    // Get features and labels
    r = os.listdir("data/")
    r.sort()
    features, labels = parse_audio_files("data", r)
    np.save("feat.npy", features)
    np.save("label.npy", labels)

    // Predict new
    r = os.listdir("predict/")
    r.sort()
    features, filenames = parse_predict_files("predict")
    np.save("predict_feat.npy", features)
    np.save("predict_filenames.npy", filenames)

After Change


    np.save("predict_feat.npy", features)
    np.save("predict_filenames.npy", filenames)

if __name__ == "__main__": main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 13

Instances


Project Name: mtobeiyf/audio-classification
Commit Name: 55e6def4d984c34679ab3c48a90055e93d351f79
Time: 2018-11-25
Author: mvrozanti@hotmail.com
File Name: feat_extract.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: ca907342507c1139696f542de0a3351d7a382eee
Time: 2017-12-04
Author: sgross@fb.com
File Name: reinforcement_learning/actor_critic.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: ca907342507c1139696f542de0a3351d7a382eee
Time: 2017-12-04
Author: sgross@fb.com
File Name: reinforcement_learning/reinforce.py
Class Name:
Method Name: