vision icon indicating copy to clipboard operation
vision copied to clipboard

The explanation for `all_ops` parameter of `AugMix()` is not clear enough.

Open hyperkai opened this issue 10 months ago • 1 comments

📚 The doc issue

The doc of AugMix() explains all_ops parameter as shown below but it's not clear enough:

Parameters: ...

  • all_ops (bool, optional) – Use all operations (including brightness, contrast, color and sharpness). Default is True.

Suggest a potential alternative/fix

So it should be something like below:

Parameters: ...

  • all_ops (bool, optional) – If True, all operations are used while if False, all operations excluding brightness, contrast, color and sharpness are used. Default is True.

hyperkai avatar Mar 07 '25 23:03 hyperkai

Thanks for the report @hyperkai , feel free to submit a PR to clarify the docs.

NicolasHug avatar Mar 26 '25 11:03 NicolasHug