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

[GAN] #10 Move Image Normalization to a Separate Function: Create a Function for Image Normalization #10

Open
veeradi34 opened this issue Oct 17, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation GAN

Comments

@veeradi34
Copy link
Contributor

Description: The normalization of images in the MNISTUbyteDataset class is done inline. This functionality should be encapsulated in a separate method for better readability and reuse.

Tasks:

Create a function normalize_image(image) that performs the normalization.
Update the getitem method to use this new function.

@veeradi34 veeradi34 added documentation Improvements or additions to documentation GAN labels Oct 18, 2024
@tushroy81 tushroy81 changed the title #10 Move Image Normalization to a Separate Function: Create a Function for Image Normalization [GAN] #10 Move Image Normalization to a Separate Function: Create a Function for Image Normalization Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation GAN
Projects
None yet
Development

No branches or pull requests

1 participant