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

What are the inputs to be provided in pretrained VilBERT model? #1280

Open
ApoorvVerma5 opened this issue Dec 19, 2022 · 0 comments
Open

What are the inputs to be provided in pretrained VilBERT model? #1280

ApoorvVerma5 opened this issue Dec 19, 2022 · 0 comments

Comments

@ApoorvVerma5
Copy link

Hello, I loaded pretrained model by the following provided code.
from mmf.common.registry import registry

model_cls = registry.get_model_class("vilbert")
model = model_cls.from_pretrained("vilbert.finetuned.hateful_memes.direct")

Now, I want to use this model on my dataset but I can't figure out what are the inputs to be provided in the model. These all are the inputs to be given,
input_0, input_1, targets, input_mask, segment_ids, return_output_dict, image_info_0 , image_features_0

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

1 participant