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

请问下如何设置slowfast动作检测的类别? #7

Open
xiebhty opened this issue May 27, 2022 · 5 comments
Open

请问下如何设置slowfast动作检测的类别? #7

xiebhty opened this issue May 27, 2022 · 5 comments

Comments

@xiebhty
Copy link

xiebhty commented May 27, 2022

请问下如何设置slowfast动作检测的类别?如何设置或者修改代码使得,slowfast只检测指定的某些动作,谢谢!

@wufan-tb
Copy link
Owner

wufan-tb commented May 27, 2022

这个目前还不支持设置修改呢,可以在yolo_slowfast.py代码的第71行下面增加一个判定条件,不是指定动作就不画图

if ava_label not in [action1, action2, ...]:
    continue

要稍微注意一下ava_label是字符串不是数字id

@chutao-1
Copy link

chutao-1 commented Nov 3, 2023

@xiebhty 请问你解决了吗,求回复

@chutao-1
Copy link

这个目前还不支持设置修改呢,可以在yolo_slowfast.py代码的第71行下面增加一个判定条件,不是指定动作就不画图

if ava_label not in [action1, action2, ...]:
    continue

要稍微注意一下ava_label是字符串不是数字id

@wufan-tb 请问这个是加在现在更新后版本代码的108行后面吗?我尝试了结果视频一个动作都不显示出来呀,还是原视频输出的,求回复

@ChangXinze
Copy link

@chutao-1 你加的代码是什么内容呢

@chutao-1
Copy link

chutao-1 commented Jan 29, 2024 via email

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

4 participants