Problem with initialization of resolver

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with initialization of resolver

130 Views
db1988
Contributor I

Hello

This is my first project using Tensorflow on and I'm using MIMXRT1062

I try to init model this way:

1.png

 

and inside InferenceInit() I create an instance of BuiltInOpResolver

2.png

After executing the line highlighted with green my program crashes this way and I have no idea what to do.

3.png

Please help

0 Kudos
2 Replies

112 Views
Zu
Contributor II

Hi

have you tried increasing the Heap memory settings?

I had a similar problem and it turned out my project was using the default Heap size setting (which was about 4KB I think?) and it was not enough for the resolver to init.

I observed the Heap usage in the debugger tool and it looks like resolver initialisation needed about 12KB (in my case at least) but you would probably need more for tensors allocation etc.

hope this would help 

greetings
Zuza

118 Views
david_piskula
NXP Employee
NXP Employee

Hello,

can you share your whole code? It's hard to say what the issue here is without debugging the application.

Best Regards,

David

0 Kudos