Skip to content

Commit

Permalink
Add maskformer to list of supported models
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Nov 14, 2024
1 parent 8ad2e3a commit 55a19cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/onnxruntime/modeling_ort.py
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ def forward(
@add_end_docstrings(ONNX_MODEL_END_DOCSTRING)
class ORTModelForSemanticSegmentation(ORTModel):
"""
ONNX Model for semantic-segmentation, with an all-MLP decode head on top e.g. for ADE20k, CityScapes. This class officially supports segformer.
ONNX Model for semantic-segmentation, with an all-MLP decode head on top e.g. for ADE20k, CityScapes. This class officially supports maskformer, segformer.
"""

auto_model_class = AutoModelForSemanticSegmentation
Expand Down

0 comments on commit 55a19cb

Please sign in to comment.