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

[Docs] How to train a model with different inputs from different model feature and videos #2805

Open
zeynepgokce opened this issue Mar 21, 2024 · 1 comment
Assignees

Comments

@zeynepgokce
Copy link

The doc issue

Hello,

I need a model training code which takes two different inputs, first one comes from pre-trained another model feature and second input from video inputs. I need to train the my main model using these two different input. I could not handle this problem in mmaction2.
I dont know how to start it? Is there any sample code for this purpose? Please help me.

Thank you.

Suggest a potential alternative/fix

Is there any sample code for this purpose? If it does not exist, could you please provide a documentation about the customization of a model with various inputs or traning codes?

@valentin-fngr
Copy link

Not an active contributor but here is how I would deal with it for now (as you can see, it can take up to weeks before getting an answer from the devs ...).

I would suggest to make a new class using

class Recognizer2D(BaseRecognizer):

as template.

Modify this class such that it take your input feature as well.
Additionally, look into models that also deal with optical flow as they use the optical flow as additional features.

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

3 participants