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

How the input images should be quantized before feeding to the model and how the model outputs should be dequantized when executing in GAP8 #424

Open
gwgknudayanga opened this issue Oct 9, 2024 · 1 comment

Comments

@gwgknudayanga
Copy link

gwgknudayanga commented Oct 9, 2024

Hi,

I trained a model for object detection simple feeding the raw inputs to the network. So the input pixels are in 0 to 255 range.
When the model is running in GAP8, can i feed these raw pixel values directly? Or otherwise do i need to explicitly quantized these to a particular range? (i hope it's just reducing 128)

  • Also how can i dequantize the model outputs from GAP8?
  • With ReadImageFromFile we can read images. But how can I read the .npy file into the c run the file because my data is not images?
@gwgknudayanga
Copy link
Author

@marco-fariselli could you please help me in this regard?

@gwgknudayanga gwgknudayanga changed the title How the input images should be quantized before feeding to the model when executing in GAP8 How the input images should be quantized before feeding to the model and how the model outputs should be dequantized when executing in GAP8 Oct 9, 2024
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