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

Move normalize_image to rten-imageproc and make it customizable #343

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

robertknight
Copy link
Owner

Several examples need to normalize an image with a mean and standard deviation different from the ImageNet values. Add a function in rten-imageproc with this flexibility. The function has been added to the rten-imageproc crate because it doesn't have any dependencies on specific image formats.

In the process the implementation was also revised to make it more efficient.

Several examples need to normalize an image with a mean and standard deviation
different from the imagenet values. Add a function in rten-imageproc with this
flexibility. The function has been added to the rten-imageproc crate because
it doesn't have any dependencies on specific image formats.

In the process the implementation was also revised to make it more efficient.
@robertknight robertknight merged commit 1429819 into main Sep 5, 2024
2 checks passed
@robertknight robertknight deleted the refactor-norm-image branch September 5, 2024 17:30
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

Successfully merging this pull request may close these issues.

1 participant