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

[Update] High-level APIs for testing a video and rawframes not working #1580

Merged
merged 2 commits into from
Apr 15, 2022
Merged

Conversation

Dai-Wenxun
Copy link
Collaborator

Motivation

The test examples in High-level APIs for testing a video and rawframes don't work, which is caused by the wrong argument labels passed to inference_recognizer. The declaration of inference_recognizer is def inference_recognizer(model, video, outputs=None, as_tensor=True, **kwargs), and the argument outputs is names of layers whose outputs need to be returned not the filepath of the labels.

Modification

I remove the argument labels passed to inference_recognizer and since the argument use_frames in init_recognizer is deprecated PR #1191, I remove it too.

@CLAassistant
Copy link

CLAassistant commented Apr 14, 2022

CLA assistant check
All committers have signed the CLA.

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.

3 participants