Error while Compiling

Hi everyone, here is the error I got while compiling:

Looking at the generated .har file after optimization with Netron app it seems pretty okay:

I am kindly requesting anyone to help me solve this out. Thank you!

Hey @Kevin_Walter,

I think the issue is that the DFC is getting confused because you’re passing both --model-script and --auto-model-script at the same time. Normally you’d use one or the other—--model-script for .alls or .json files, or --auto-model-script for a .py dictionary.

Running both together isn’t really supported in most workflows. The only time you’d typically need both is in some edge cases, like when you’re compiling a pre-parsed multihead .har file and adding custom logic from auto_model_script.py.

Try removing one of those flags and see if that helps!