diff --git a/x2paddle/op_mapper/onnx2paddle/onnx_custom_layer/roi_align.py b/x2paddle/op_mapper/onnx2paddle/onnx_custom_layer/roi_align.py index cef9f13e0f8b36fdbcbbb9ab838919484c48ca4b..24232d675e9b5e2dd27c7f2d0ccc0801d50416bb 100644 --- a/x2paddle/op_mapper/onnx2paddle/onnx_custom_layer/roi_align.py +++ b/x2paddle/op_mapper/onnx2paddle/onnx_custom_layer/roi_align.py @@ -26,7 +26,7 @@ def roi_align(input, spatial_scale=1.0, sampling_ratio=-1, rois_num=None, - aligned=True, + aligned=False, name=None): if in_dynamic_mode(): assert rois_num is not None, "rois_num should not be None in dygraph mode."