Skip to content

Why does RandomErasing transform aspect ratio use log scale #3825

@jxu

Description

@jxu

See from 06a5858 the aspect ratio is chosen randomly from a log scale

I didn't see this in the original paper? And in the reference implementation.

https://github.com/zhunzhong07/Random-Erasing/blob/c699ae481219334755de93e9c870151f256013e4/transforms.py#L38

cc @vfdev-5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions