Skip to content

How to view predicted JSON file using detectron2 #2494

Description

@wish2023

After using detectron2 to train custom coco datasets, how do I view annotations as a JSON file made by the predicter, DefaultPredictor(get_cfg())?

I can get the prediction overlaying the image using Visualizer but I'd like to view these predictions as a JSON file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportCommunity support about how to use the project

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions