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

Inference #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Inference #13

wants to merge 3 commits into from

Conversation

lmaxwell
Copy link
Contributor

@lmaxwell lmaxwell commented Jul 9, 2024

Implement inference code for downstream models like audioset and audioset_strong.
fixes #12

@lifeiteng
Copy link

Labels 标签对 display name 是啥? 我用 #12 (comment) mid_to_display_name.tsv 出来的结果不太对

161722056537_ pic

if __name__ == "__main__":
import sys
ckpt_path = sys.argv[1]
m = InferenceAudioSetStrong(ckpt_path)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m.eval() to disable dropout

@SaoYear
Copy link
Member

SaoYear commented Jul 30, 2024

Hi Feiteng, thank you for the interest and sorry for the mess on this part. I forgot to use the sorted label in the label generation codes. You could try this file for the provided checkpoint, we will fix the commited codes later.
common_labels.txt

Update the audioset-strong inference labels.
@lmaxwell
Copy link
Contributor Author

lmaxwell commented Aug 1, 2024

@Angelalilyer

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

Successfully merging this pull request may close these issues.

Hello, may I ask if ATST Frame can publicly disclose the models and scripts used for inference?
3 participants