From 64aa212bd1697861ae3824af2079a8db7ecaaf51 Mon Sep 17 00:00:00 2001 From: wjj19950828 Date: Wed, 8 Jun 2022 15:29:31 +0800 Subject: [PATCH] roi_align aligned attr is set to False by default --- x2paddle/op_mapper/onnx2paddle/onnx_custom_layer/roi_align.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cef9f13..24232d6 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." -- GitLab