无法运行tensorflow-node-gpu

时间:2019-06-09 20:23:40

标签: node.js tensorflow npm gpu

我无法运行@ tensorflow / tfjs-node-gpu。我错过了任何重要的步骤吗?

我有

CUDA, 蟒蛇 我可以安装模块

它不会运行

我当前的代码只是一个简单的要求:

Initialization of backend tensorflow failed
Error: The specified module could not be found.
\\?\C:\Users\joules\Desktop\n\node_modules\@tensorflow\tfjs-node-gpu\build\Release\tfjs_binding.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:815:18)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at bindings (C:\Users\joules\Desktop\n\node_modules\bindings\bindings.js:84:48)
at Object.factory (C:\Users\joules\Desktop\n\node_modules\@tensorflow\tfjs-node-gpu\dist\index.js:48:60)
at Engine.initializeBackend (C:\Users\joules\Desktop\n\node_modules\@tensorflow\tfjs-core\dist\engine.js:237:48)
at Engine.<anonymous> (C:\Users\joules\Desktop\n\node_modules\@tensorflow\tfjs-core\dist\engine.js:200:35)
at step (C:\Users\joules\Desktop\n\node_modules\@tensorflow\tfjs-core\dist\engine.js:48:23)

这是运行“ node index.js”后得到的结果:

Method invocation 'toString()' may produce 'NullPointerException'

0 个答案:

没有答案