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

Image scaling issues #32

Open
SMercier88 opened this issue Apr 25, 2023 · 0 comments
Open

Image scaling issues #32

SMercier88 opened this issue Apr 25, 2023 · 0 comments

Comments

@SMercier88
Copy link
Contributor

1- Currently, I believe the images are not scaled to a [0-1] range when we run the tfrecords generation followed by model training. This is OK for efficientnet models, because preprocessing is done by the model itself. That said, other models, like inception expect a scaled input.

2- I might we wrong, but I believe the scale variable, used for data augmentation and created here, should be the opposite. It should be 1 for models of the efficientnet family (because the model expect a tensor of [0-255] floats), while it should be 255 for the other models.

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