While converting pytorch model to onnx
torch.onnx.export(model,
dummy_input,
save_path,
operator_export_type=torch.onnx.OperatorExportTypes.ONNX,
export_params=True,
opset_version=12,
verbose=False)
I get multiple lines of warning as below
Warning: Constant folding - Only steps=1 can be constant folded for opset >= 10 onnx::Slice op. Constant folding not applied.
Warning: Constant folding - Only steps=1 can be constant folded for opset >= 10 onnx::Slice op. Constant folding not applied.
.
.
System information
- OS Platform and Distribution: Ubuntu 20.04
- Python version: 3.7.11
- Pytorch version: 1.10.2
How can I remove this warning? Does this affect prediction values?