hailo-ai / hailo_model_zoo

The Hailo Model Zoo includes pre-trained models and a full building and evaluation environment
MIT License
331 stars 46 forks source link

Issue in fitting yolov4 on hailo 8. #124

Open anuragkarwa001 opened 2 months ago

anuragkarwa001 commented 2 months ago

I was trying to convert yolov4 to .hef but at the time of compilation it is showing the following error [error] Mapping Failed (allocation time: 2s) Context switch is disabled, but model could not fit in single context. consider changing it and try again. Detailed error is: Failed to save enough resources to fit in the required parameters (in a recoverable manner): SCs: 326/384, 16bit SCs: 0/384, APUs: 149/120, IAs: 149/192, L3 weights: 138/768, L3 ios: 200/768, LCUs: 149/96

When I looked into the yolov4_leaky.yaml it was using some output splitting and I was not be to understand how to do it and how to parse the output after inference. Can you please help me regarding the output parsing. Any guide for splitting will be helpful. Also is there any way to fit the model without splitting.

Thanks in advance