google-deepmind / google-deepmind/multimodal_transformers

Missing key error - Inference function does not return image features

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
67
Forks
9
PR merge metrics
No merged PRs in 30d

Description

In the [mmt release notebook](https://github.com/deepmind/multimodal_transformers/blob/main/mmt_release.ipynb), in the function definition `RunInferenceSingleImage(image, graph)`, nowhere does it return `detection features`.

Yet, after that function call, `output_dict` is instantiated as `output_dict = RunInferenceSingleImage(image_np, detection_graph)` and it tries to access `output_dict['detection_features']`.

Obviously this leads to errors about missing keys.

Any hints to how to resolve this will be appreciated. I think I might be missing something simple.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.