RandomBaiduCrop
XDUSPONGE opened this issue · comments
Dongcheng Zhao commented
Hello, thanks for your code, I have some problems with the implementation of the RandomBaiduCrop.
for the code
target_anchor = random.choice(anchors[0:min(anchor_idx + 1, 5) + 1])
ratio = float(target_anchor) / rand_Side
ratio = ratio * (2 ** random.uniform(-1, 1))
why here need a uniform, this may lead to a negative value of ration, may be there is something wrong here