mlmed / chester-xray

Chester the AI Radiology Assistant
https://mlmed.org/tools/xray
Other
155 stars 65 forks source link

Auto resize image to the size the GPU/browser can handle #15

Closed sarkarghya closed 2 years ago

sarkarghya commented 2 years ago

The image should be resized to work accordingly and not give an error.

ieee8023 commented 2 years ago

This is difficult because the models are trained at a specific input shape. Changing the input shape to the network would change the prediction and it would likely be wrong because the network was not trained that that shape.

There should be some more efficient ways to process a forward pass. Is there a specific issue you are having?

sarkarghya commented 2 years ago

Oh I get it. But then from what I understand some people might not be able to use the model. If there was any website or application which could transform my image to the type that was suitable for the model, it would be really helpful if that were included.

Anyway nice project!