Compiler: Metadata missing in Har file.

The steps i did, using hailo parser for onnx to har, then hailo optimizer to get an optimized / quantized .har. Optimized with best practices ( Dataflow compiler best practice ) Added a normalization layer, added NMS. Added some avgpool layers.

Then on to the compiler:
hailo compiler ./640_optimized/640_optimized.har --hw-arch hailo8
Results in:
raise HailoArchiveLoadException(“Metadata file is missing in HAR”)
hailo_sdk_client.hailo_archive.hailo_archive.HailoArchiveLoadException: Metadata file is missing in HAR

Please, anyone I have no idea what I’m supposed to do anymore and i don’t find anything anywhere about this error.

I apparently can’t upload a model here, but more info:

It’s a customized efficientdet model. i simplified the model with onnxsim before parsing it with hailo. All other steps above.

Would really need some help!

push - still hopeful.

Hi @Gama_Holic,

That’s an error that we’ve only seen when manipulating HAR contents, it’s very unexpected if that’s not the case.

Could you please try going through the compilation steps again? We’ve performed compilation for multiple efficientdet versions in the past, so this error shouldn’t be happening.

i did, like 3 times.
Then i did it again using hailomz instead of the dfc, also did not work.
Now i try to go by a tutorial to get a damoyolo going but the issue thread if ran into there is still pending.

I’m sending you a pm with a link so you can share the files with us.