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
138 stars 75 forks source link

nntool onnx result is not correct #374

Closed noahzn closed 1 year ago

noahzn commented 1 year ago

Hi, I try to convert my ONNX model (PyTorch -> ONNX) using NNTOOL, and I dumped a result into a .npy file, but find that the output is not correct. Therefore, I check the output[0][0] which should be the input image. However, it only shows some strips. It should be a gray-scale image shown below.

image 1673451134 6315496

Thanks!

noahzn commented 1 year ago

This issue might be related to this problem https://github.com/GreenWaves-Technologies/gap_sdk/issues/375 Now it has been solved.