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

Data Augmentation Issue in Random Scaling #90

Open
DominikFle opened this issue Nov 1, 2023 · 0 comments
Open

Data Augmentation Issue in Random Scaling #90

DominikFle opened this issue Nov 1, 2023 · 0 comments

Comments

@DominikFle
Copy link

Here:

factor = np.random.uniform(self.scaling_range[0], self.scaling_range[0])

the scaling factor is not correctly sampled from the scaling range. Instead of:
factor = np.random.uniform(self.scaling_range[0], self.scaling_range[0])
It should be
factor = np.random.uniform(self.scaling_range[0], self.scaling_range[1])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant