Skip to content

Commit a5958fa

Browse files
authored
fix: cubic coefficient warning message typo
1 parent 369412a commit a5958fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx2torch/node_converters/resize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def _(node: OnnxNode, graph: OnnxGraph) -> OperationConverterResult: # pylint:
152152
)
153153

154154
if cubic_coeff_a != -0.75:
155-
warnings.warn('With a cubic coefficient value other than 0.75, the results might differ significantly!')
155+
warnings.warn('With a cubic coefficient value other than -0.75, the results might differ significantly!')
156156

157157
if exclude_outside != 0:
158158
warnings.warn('With a exclude outside value other than 0, the results might differ significantly!')

0 commit comments

Comments
 (0)