!42064 maskrcnn bug

Merge pull request !42064 from zong_shuai/mask_master
This commit is contained in:
i-robot 2022-09-16 09:50:04 +00:00 committed by Gitee
commit c89255efeb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def get_bprop_resize_bicubic(self):
def get_bprop_crop_and_resize(self):
"""Grad definition for `CropAndResize` operation."""
allowed_types = [mstype.float16, mstype.float32, mstype.float64]
gradboxes = CropAndResizeGradBoxes(method=self.method)
gradboxes = CropAndResizeGradBoxes(method="bilinear")
method_ = self.method
def bprop(x, boxes, box_index, crop_size, out, dout):
if method_ != "bilinear":