panns_inference
panns_inference copied to clipboard
Setting Config labels_csv_path
Thanks for the amazing job. I just think that it would be beneficial if we can set the config.labels_csv_path ourselves. Since we might use this inference package for deployment, and it would help us if we can manage where the labels file should be. Or even better, it would be awesome if we are also able to pass in the labels to the config in our code, and not a file path.
Thanks again!
Hi, users could download the label_csv file from http://storage.googleapis.com/us_audioset/youtube_corpus/v1/csv/class_labels_indices.csv. The PANNs model predicts the probabilities of 527 predictions. Users could build their own map using the label_csv file.