Skip to content

prototypes building #89

Description

@rabum

I'm trying to rebuild the prototypes in config yamls with the code provided, but it seems the keys are not the same as the .pkl and .pth files provided in Downloads.md.
For example, lvis_v1_known_train.vitl14.pkl has keys(['prototypes', 'kwargs', 'label_names']) but the pkl I built with build_prototypes.ipynb only has keys(['prototypes', 'label_names']).
And I also tried tools/extract_instance_prototypes.py, the pkl it built has keys(['labels', 'patch_tokens', 'avg_patch_tokens', 'image_id', 'boxes', 'areas', 'skip']) which does not match with any of the provided prototypes so I don't know where to use it.

May I know how to build prototypes exactly the same as those provided in configs yamls?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions