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
Get embeddings of language encoder and Object-Relationship Encoder? #94
Comments
I'm not 100% sure, but if you refer to the encoded representation before the cross-modality interaction module, then probably you need to hack these two lines and save these intermediate representations: Lines 554 to 559 in 0db1182
If you need the ones after the cross-modality interaction module, then just take these two: Line 566 in 0db1182
|
Sort of help, thanks! @zhmd |
Any suggestion of getting embeddings of language encoder and Object-Relationship Encoder? I refers to
output_hidden_state
mentioned in this blog as well as the official tutorial.The text was updated successfully, but these errors were encountered: