Skip to content

RandomBaiduCrop #81

@XDUSPONGE

Description

@XDUSPONGE

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions