[英]Tensorflow C++ API guide examples on Windows
我使用VS2015構建了tensorflow,並且能夠運行一些示例,例如tf_tutorials_example_trainer
和label_image
。
然后,我嘗試在此處運行示例。
我能夠編譯並啟動example.cc
但是到達該行時
Scope root = Scope::NewRootScope();
我收到此錯誤:
Op type not registered 'NoOp' in binary running on DESKTOP-S5QHRCE.
Make sure the Op and Kernel are registered in the binary running in this process
我想念什么?
我發現了這個 。
感謝Joe,他解釋了如何使用/WHOLEARCHIVE
選項解決此問題。
如果使用Optimize for debugging (/DEBUG)
選項來避免鏈接期間of memory error
,請在命令提示符下執行msbuild /p:Configuration=Release youproject.vcxproj
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.