rf-detr icon indicating copy to clipboard operation
rf-detr copied to clipboard

Fix inverted probability logic in RandomExpand.__call__

Open pantment opened this issue 1 week ago • 1 comments

This PR fixes a bug in RandomExpand.call where the probability check was inverted. According to the docstring, prob is the probability to expand, but the previous implementation expanded with probability 1 - prob. The condition has been corrected so that expansion now happens with the intended probability.

pantment avatar Nov 29 '25 23:11 pantment

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 29 '25 23:11 CLAassistant