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

Refactoring and Support New Methods and Documents (V0.2.7) #35

Closed
Lupin1998 opened this issue Dec 16, 2022 · 1 comment
Closed

Refactoring and Support New Methods and Documents (V0.2.7) #35

Lupin1998 opened this issue Dec 16, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request Refactoring update Updating configs and results in OpenMixup

Comments

@Lupin1998
Copy link
Member

Lupin1998 commented Dec 16, 2022

Code refactoring:

  1. Refactor openmixup.core (instead of openmixup.hooks) and openmixup.models.augments (contains mixup augmentation methods which are originally implemented in openmixup.models.utils). After code refactoring, the macro design of OpenMixup is similar to most projects of MMLab.
  2. Support deployment of ONNX and TorchScript in openmixup.core.export and tools/deployment. We refactored the abstract class BaseModel (implemented in openmixup/models/classifiers/base_model.py) to support forward_inference (for custom inference and visualization). We also refactored openmixup.models.heads and openmixup.models.losses to support forward_inference. You can deploy the classification models in OpenMixup according to deployment tutorials.
  3. Support testing API methods in openmixup/apis/test.py for evaluation and deployment of classification models.
  4. Refactor openmixup.core.optimizers to separate optimizers and builders and support the latest Adan optimizer.

Supporting new features:

  1. Support detailed usage instructions in README of config files for image classification methods in configs/classification, e.g., mixups on ImageNet. We will update READMEs of other methods in configs/selfsup and configs/semisup in a few weeks.
  2. Refine the origianzation of README files according to README-Template.
  3. Support the new mixup augmentation method (AlignMix) and provide the relevant config files in various datasets.

Updating documents:

  1. Update documents of mixup benchmarks on ImageNet in Model_Zoo_sup.md. Update config files for supported mixup methods.
  2. Update formats (figures, introductions and content tables) of awesome lists in Awesome Mixups and Awesome MIM and provide the latest methods.
@Lupin1998 Lupin1998 added enhancement New feature or request update Updating configs and results in OpenMixup Refactoring labels Dec 16, 2022
@Lupin1998 Lupin1998 self-assigned this Dec 16, 2022
Lupin1998 added a commit that referenced this issue Dec 16, 2022
@Lupin1998
Copy link
Member Author

OpenMixup V0.2.7 is now released!
We will fix reported bugs and update documents of V0.2.7 if new issues are raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Refactoring update Updating configs and results in OpenMixup
Projects
None yet
Development

No branches or pull requests

1 participant