Tensor Flow与Julia 0.6.4兼容吗?

时间:2018-10-23 04:12:21

标签: tensorflow julia

因此,我在机器学习课程中有一个项目,我们使用Julia作为编程语言。我们可以使用任何我们想要构建神经网络的软件包,但我似乎无法让Tensor Flow正确测试。 Pkg.add("TensorFlow")看起来不错,但这是Pkg.test("TensorFlow")

的输出
julia> Pkg.test("TensorFlow")
INFO: Testing TensorFlow
ERROR: LoadError: LoadError: could not load library "C:\Users\Ryan .LAPTOP-                
KJUJGIC7\.julia\v0.6\TensorFlow\src\..\deps\usr\bin\libtensorflow"
The specified module could not be found.

Stacktrace:
 [1] dlopen(::String, ::UInt32) at .\libdl.jl:97
 [2] TensorFlow.Graph() at C:\Users\Ryan .LAPTOP-   KJUJGIC7\.julia\v0.6\TensorFlow\src\core.jl:21
 [3] include_from_node1(::String) at .\loading.jl:576
 [4] include(::String) at .\sysimg.jl:14
 [5] include_from_node1(::String) at .\loading.jl:576
 [6] include(::String) at .\sysimg.jl:14
 [7] process_options(::Base.JLOptions) at .\client.jl:305
 [8] _start() at .\client.jl:371
while loading C:\Users\Ryan .LAPTOP-KJUJGIC7\.julia\v0.6\TensorFlow\test\..\examples\logistic.jl, in expression     starting on line 22
while loading C:\Users\Ryan .LAPTOP-KJUJGIC7\.julia\v0.6\TensorFlow\test\runtests.jl, in expression starting on line 6
=================================================[ ERROR: TensorFlow ]==================================================

failed process: Process(`'C:\Users\Ryan .LAPTOP-KJUJGIC7\AppData\Local\Julia-0.6.4\bin\julia.exe' -Cgeneric '-JC:\Users\Ryan .LAPTOP-KJUJGIC7\AppData\Local\Julia-0.6.4\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\Ryan .LAPTOP-KJUJGIC7\.julia\v0.6\TensorFlow\test\runtests.jl'`, ProcessExited(1)) [1]

========================================================================================================================
ERROR: TensorFlow had test errors

我在Windows 10上运行Julia版本0.6.4;如果有办法解决此错误或解决方法,我希望提供一些建议。

1 个答案:

答案 0 :(得分:1)

BitBlt不支持Windows。 您有两种选择:

(1)尝试通过BitBlt使用TensorFlow:

TensorFlow.jl

(2)改用PyCall.jl