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

Before Change


    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/")

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: 3

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: OpenNMT/OpenNMT-py
Commit Name: 1b50e0ce69cff758a6ed4cef847c01e9aa5b3f2d
Time: 2020-01-28
Author: guillaumekln@users.noreply.github.com
File Name: tools/release_model.py
Class Name:
Method Name:


Project Name: tzutalin/labelImg
Commit Name: 6958e69851567abb18bfece52888d4709bbacc5b
Time: 2017-08-03
Author: tzu.ta.lin@gmail.com
File Name: tests/test_io.py
Class Name:
Method Name: