Need more understanding of the function: get_visual_embeddings(image_path)
Dear Developers

I was looking through the code for image embedding and found this section of the code in the visual_bert:

# this is a custom function that returns the visual embeddings given the image path
visual_embeds = get_visual_embeddings(image_path)

This is a user-defined function. But I want to know what are the existing imaging embedding process should work with visual_bert?

Some suggestions will be helpful.

Thanks
Dheeman
Hey @dheeman00!

You should check out the following complete example for a fully working pipeline with VisualBERT: https://github.com/huggingface/transformers/tree/master/examples/research_projects/visual_bert

cc @gchhablani<|||||>Hey @LysandreJik 

I looked into the repo. But I think I found a better example that can be helpful for others.

https://huggingface.co/docs/transformers/model_doc/deit

deit directly represents a vector from a given image. <|||||>cc @NielsRogge too<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.