Is crop_size in the [height, width] format or [width, height]?
Here it's [height, width]:
https://github.com/alibaba/ClickSEG/blob/main/models/strongbaseline/mobilenetv2_x1_comb.py#L41
However,
|
image_crop = cv2.resize(image_crop, self.target_size) |
uses opencv's convention of [width, height]
Practically, this does not matter because it's a square, but then you could have used just one parameter instead of two.
Is crop_size in the [height, width] format or [width, height]?
Here it's [height, width]:
https://github.com/alibaba/ClickSEG/blob/main/models/strongbaseline/mobilenetv2_x1_comb.py#L41
However,
ClickSEG/isegm/data/aligned_augmentation.py
Line 50 in d61a76b
uses opencv's convention of [width, height]
Practically, this does not matter because it's a square, but then you could have used just one parameter instead of two.