Problem with initialization of resolver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem with initialization of resolver

1,836件の閲覧回数
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,816件の閲覧回数
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,824件の閲覧回数
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 件の賞賛