xmos / ai_tools

AI applications and tools
Other
25 stars 10 forks source link

DDR example #914

Closed panickal-xmos closed 4 months ago

andresovela commented 4 months ago

Hi @panickal-xmos, I tried to run this example but it doesn't build for me:

Creating app_device.xe
model.tflite.cpp: Warning: Undefined reference to '_ZN6tflite3ops5micro5xcore18Register_XC_concatEv'
Constraint check for tile[0]:
  Memory available:       524288,   used:       8636 .  OKAY
    (Stack: 524, Code: 6860, Data: 1252)
  ExtMem available:    134217728,   used:    3587236 .  OKAY
    (Stack: 0, Code: 0, Data: 3587236)
Constraints checks PASSED WITH CAVEATS.
model.tflite.cpp: Error: Undefined reference to '_ZN6tflite3ops5micro5xcore18Register_XC_concatEv'
xmake[1]: *** [bin//app_device.xe] Error 1
xmake: *** [bin//app_device.xe] Error 2

I have the same issue with one of my newer models but I thought maybe it was a problem with the model. Now that I see it in the example I think maybe something is missing in my setup?

panickal-xmos commented 4 months ago

Could you please try again with the latest tools? Install them with pip install xmos-ai-tools --pre --upgrade

andresovela commented 4 months ago

Okay that worked, thanks! I'll try adapting my application to match the example and I'll come back to you.