Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AloTransform : probabilistic same_on_sequence and same_on_frames #60

Closed
jsalotti opened this issue Sep 13, 2021 · 0 comments · Fixed by #61
Closed

AloTransform : probabilistic same_on_sequence and same_on_frames #60

jsalotti opened this issue Sep 13, 2021 · 0 comments · Fixed by #61
Assignees
Labels
alodataset enhancement New feature or request

Comments

@jsalotti
Copy link
Contributor

In alodataset.transform.AloTransform, we can define the behavior of the transform with its boolean parameters :

  • same_on_sequence
  • same_on_frames

We should allow these parameters to take float values between 0 and 1, representing the probability to apply the same transformation or not.

At each call to the transform, a random draw (respecting the probabilities), to decide if the transform will be the same (on sequence and on frame)

@jsalotti jsalotti self-assigned this Sep 13, 2021
@thibo73800 thibo73800 added the enhancement New feature or request label Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alodataset enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants