Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Config labels_csv_path #5

Open
AmirMahdiNassiri opened this issue Dec 17, 2020 · 1 comment
Open

Setting Config labels_csv_path #5

AmirMahdiNassiri opened this issue Dec 17, 2020 · 1 comment

Comments

@AmirMahdiNassiri
Copy link

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!

@qiuqiangkong
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants