diff --git a/csrc/mmdeploy/codebase/mmdet/instance_segmentation.cpp b/csrc/mmdeploy/codebase/mmdet/instance_segmentation.cpp index 3befdd6912..3168b7fe8b 100644 --- a/csrc/mmdeploy/codebase/mmdet/instance_segmentation.cpp +++ b/csrc/mmdeploy/codebase/mmdet/instance_segmentation.cpp @@ -192,7 +192,7 @@ class ResizeInstanceMask : public ResizeBBox { ::mmdeploy::operation::Managed<::mmdeploy::operation::Permute> permute_; float mask_thr_binary_{.5f}; bool is_rcnn_{true}; - bool is_resize_mask_{false}; + bool is_resize_mask_{true}; std::vector scale_factor_{1.0, 1.0, 1.0, 1.0}; };