Skip to content

[QUESTION] <about scale_jitter sizes customization> #486

@dingliangxiansheng

Description

@dingliangxiansheng

Hi, thanks for your great work!

I have a question about the scale_jitter augmentation:

"scale_jitter": {
"divisible_by": null,
"max_scale": 2.0,
"min_scale": 0.5,
"num_scales": 20,
"prob": 1.0,
"seed_offset": 0,
"sizes": null,
"step_seeding": false
}

Currently, the scales are automatically generated based on the model input resolution (e.g., 518×518).

My question is:
Is it possible to manually define custom resizing sizes, use them in the scale jitter stage, but still keep the final model input size fixed (518×518)?

So essentially:

The scale jitter resize uses my manually defined sizes

The final crop/resize to the model remains 518×518

No change to the patch size or model input shape

Is this supported or does the current implementation force the scales to be generated from the model input size?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions