fix : delete prints
This commit is contained in:
@@ -540,8 +540,6 @@ class CalcMaskBound:
|
||||
|
||||
desired_width *= shrink_ratio
|
||||
desired_height *= shrink_ratio
|
||||
|
||||
print(desired_width, desired_height, ori_width, ori_height)
|
||||
|
||||
optional_padding_col = int((desired_width - ori_width) / 2)
|
||||
optional_padding_row = int((desired_height - ori_height)/2)
|
||||
@@ -551,7 +549,7 @@ class CalcMaskBound:
|
||||
|
||||
max_col += optional_padding_col
|
||||
max_row += optional_padding_row
|
||||
print(min_col, max_col, mask.shape)
|
||||
|
||||
|
||||
if min_col < 0:
|
||||
max_col -= min_col
|
||||
|
||||
Reference in New Issue
Block a user