Weird DFC issue

I am having a weird issue with DFC. If I run it independently, I can parse, optimize and compile my ONNX model without any problem. But if I run it with another program, more precisely, when it is called by another program, I got errors like the below, any idea what caused this? Thanks in advance! – T.T.
Errors:
tensorflow.python.framework.errors_impl.UnimplementedError: Graph execution error:
Detected at node ‘best/conv1/conv_op/Conv2D’ defined at (most recent call last):
UNIMPLEMENTED: DNN library is not found.
[[{{node best/conv1/conv_op/Conv2D}}]]

More precisely, it happened during calibration of optimization. But again, no issue at all when running the process independently.

Hi @TT2024,

Could it be that in this other program you have installed extra packages within the DFC venv? This could cause compatibility issues.

Hi @nina-vilela ,
Thanks for your response! Right, there is some conflict – it seems another library changed some environmental variable which the hailo DFC libs don’t like. But it’s hard to solve it. So for now I just don’t run them in the same python virtual environment.

1 Like