Skip to content

Missing key error - Inference function does not return image features #2

@ahron1

Description

@ahron1

In the mmt release notebook, 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions