Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine repr of Registry #335

Closed
ZwwWayne opened this issue Jun 26, 2022 · 0 comments · Fixed by #922
Closed

Refine repr of Registry #335

ZwwWayne opened this issue Jun 26, 2022 · 0 comments · Fixed by #922

Comments

@ZwwWayne
Copy link
Collaborator

ZwwWayne commented Jun 26, 2022

Describe the feature
Make the repr_ of registry prettier, so that when print(registry) or directly type registry in terminal we can clearly see what is contained in registry.

Motivation
For better debug usages

Related resources
See an example at https://github.com/facebookresearch/fvcore/blob/main/fvcore/common/registry.py#L79

Additional context

@ZwwWayne ZwwWayne changed the title Add repr of Registry Refine repr of Registry Jun 27, 2022
@ZwwWayne ZwwWayne added this to the 0.5.0 milestone Jun 27, 2022
mzr1996 pushed a commit that referenced this issue Jul 15, 2022
* add mytrain.py for test

* test before layers

* test attr in layers

* test classifier

* delete mytrain.py

* add mobilenet_v3.yml

* fix ymal

* rename model_zoo.yml to model-index.yml

* replace imagenet with imagenet-1k
@ZwwWayne ZwwWayne modified the milestones: 0.5.0, 0.6.0 Jul 27, 2022
@ZwwWayne ZwwWayne modified the milestones: 0.2.0, 0.3.0 Oct 24, 2022
@zhouzaida zhouzaida linked a pull request Feb 11, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants