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 DPT support for ORTModelForSemanticSegmentation #1759

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

merveenoyan
Copy link
Contributor

@merveenoyan merveenoyan commented Mar 15, 2024

Hiya 👋
ORTModelForSemanticSegmentation is already implemented, DPT model in ONNX is already implemented too, but semantic segmentation isn't a task that was supported in DPT and DPT to ORT semantic segmentation integration tests, so I added that. The tests passed on my local so I hope it's gonna work fine.

I also wanted to add BeiT but I got op_name = 'adaptive_avg_pool2d, input size not accessible

Copy link
Collaborator

@echarlaix echarlaix left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the addition @merveenoyan !

@echarlaix echarlaix merged commit 7e08a82 into huggingface:main Mar 18, 2024
44 of 61 checks passed
young-developer pushed a commit to young-developer/optimum that referenced this pull request May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants