Skip to content

Commit

Permalink
Make height and width non-dynamic axes
Browse files Browse the repository at this point in the history
  • Loading branch information
Niels Rogge authored and Niels Rogge committed Jul 20, 2022
1 parent 2c68ac1 commit 17e6fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/onnx/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class OnnxConfig(ABC):
),
"semantic-segmentation": OrderedDict(
{
"logits": {0: "batch", 1: "sequence", 2: "height", 3: "width"},
"logits": {0: "batch", 1: "sequence"},
}
),
"seq2seq-lm": OrderedDict({"logits": {0: "batch", 1: "decoder_sequence"}}),
Expand Down

0 comments on commit 17e6fd0

Please sign in to comment.