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

MD resize #13

Open
tkswanson opened this issue Apr 5, 2022 · 2 comments
Open

MD resize #13

tkswanson opened this issue Apr 5, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@tkswanson
Copy link
Collaborator

If MD takes in full image, give the option to resize to help smaller GPUS, make sure we are using the same size for classification training

@matobler
Copy link
Collaborator

matobler commented Apr 6, 2022

MD seems to resize the image as a preprocessing step. This preprocessing step is part of the model but we don't know what the output size is. If we know the output size used by MD internally, we can resize the image before sending it to MD without any loss in performance. Need to find that size and compare results from full and reduced-size images. Test on GPU with low memory (e.g. 4GB). The size we use for classification will be different and is given by the model we use..

@matobler matobler added the enhancement New feature or request label Apr 6, 2022
@matobler
Copy link
Collaborator

matobler commented Apr 6, 2022

I exported the model graph and it looks like MD does NOT resize the image internally, just converts it to float. Wonder where I thought I read that. Might still be worthwhile evaluating a resize option for systems with little GPU memory and compare performance but lower priority.

image

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

No branches or pull requests

2 participants