Problem with initialization of resolver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem with initialization of resolver

1,840 次查看
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 项奖励
2 回复数

1,820 次查看
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

1,828 次查看
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 项奖励