pluskid / Mocha.jl

Deep Learning framework for Julia
Other
1.29k stars 254 forks source link

add_tensor4d throws error #171

Closed JZZQuant closed 8 years ago

JZZQuant commented 8 years ago

include("cifar10.jl") WARNING: Method definition info(Any...) in module Base at util.jl:334 overwritten in module Logging at C:\Users\sragh.julia\v0.4\Logging\src\Logging.jl:61. WARNING: Method definition warn(Any...) in module Base at util.jl:364 overwritten in module Logging at C:\Users\sragh.julia\v0.4\Logging\src\Logging.jl:61. Configuring Mocha...

@assert CUDNN_ADD_IMAGE <= mode <= CUDNN_ADD_FULL_TENSOR line throws an error

my configuration : cudnn64_4.dll and cuda 7.5 on windows 10 (could reproduce both on release build and also the bleeding edge)

pluskid commented 8 years ago

It seems cudnn v4 introduced some new algorithms that were not presented before. I have not gotten a chance to test cudnn v4 yet. But you could try to comment out that assertion line and see if it works.

pluskid commented 8 years ago

This should be fixed now in a recent commit for fixing cuDNN v4 API changing.