Skip to content

Commit

Permalink
set type ignore as a workaround
Browse files Browse the repository at this point in the history
Signed-off-by: YunLiu <[email protected]>
  • Loading branch information
KumoLiu committed Oct 18, 2024
1 parent 7de9f9b commit 37f06c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/networks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ def convert_to_onnx(
else:
f = filename

torch.onnx.export(
torch.onnx.export( # type: ignore[arg-type]
mode_to_export,
onnx_inputs,
f=f,
Expand Down

0 comments on commit 37f06c4

Please sign in to comment.