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

Add Multi-Label & H-label Classification with torchvision models #3697

Merged

Conversation

harimkang
Copy link
Contributor

@harimkang harimkang commented Jul 1, 2024

Summary

image

How to test

Checklist

  • I have added unit tests to cover my changes.​
  • I have added integration tests to cover my changes.​
  • I have ran e2e tests and there is no issues.
  • I have added the description of my changes into CHANGELOG in my target branch (e.g., CHANGELOG in develop).​
  • I have updated the documentation in my target branch accordingly (e.g., documentation in develop).
  • I have linked related issues.

License

  • I submit my code changes under the same Apache License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below).
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

@github-actions github-actions bot added TEST Any changes in tests OTX 2.0 labels Jul 1, 2024
@harimkang harimkang added this to the 2.2.0 milestone Jul 1, 2024
Copy link
Contributor

@wonjuleee wonjuleee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I ask why this is beneficial over previous custom models?

@harimkang
Copy link
Contributor Author

Can I ask why this is beneficial over previous custom models?

I'm not sure if this is the exact answer to your question, but the original torchvision model was implemented to support only multi-class classification, so this PR simply extends it to allow multi-label and h-label to be used as well. It's a simple extension of the functionality.

@harimkang harimkang merged commit aaa3751 into openvinotoolkit:develop Jul 2, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TEST Any changes in tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants