Not found: Op type not registered
DinLei opened this issue · 0 comments
DinLei commented
博主大大,我用c++加载图的时候遇到了这个问题:Not found: Op type not registered 'IteratorV2' in binary running on dsprecsitapp06. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) tf.contrib.resampler
should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed。
我用的是tensorflow1.14 estimator训练得到的模型,然后1.14编译的静态库加载的,在create graph那个地方报错出现这个问题。想请教您有遇到这个问题么,我该怎么去解决呀