GreenWaves-Technologies / gap_sdk

SDK for Greenwaves Technologies' GAP8 IoT Application Processor
https://greenwaves-technologies.com/en/gap8-the-internet-of-things-iot-application-processor/
Apache License 2.0
141 stars 78 forks source link

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 1 month ago

gwgknudayanga commented 1 month ago

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)

gwgknudayanga commented 1 month ago

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