尝试运行原始的声网代码:https://github.com/cvondrick/soundnet 信封:Torch7,Cuda 10.0,Cudnn版本:7501
遇到以下问题: linux命令: list = / home / kzhang3256 / soundnet / forSoundNet / data.txt extract_predictions.lua
Results:
{
force : 0
write : 0
model : "models/soundnet8_final.t7"
list : "/home/kzhang3256/soundnet/forSoundNet/data.txt"
}
Loading network: models/soundnet8_final.t7
Network:
nn.Sequential {
[input -> (1) -> (2) -> (3) -> (4) -> (5) -> (6) -> (7) -> (8) -> (9) -> (10) -> (11) -> (12) -> (13) -> (14) -> (15) -> (16) -> (17) -> (18) -> (19) -> (20) -> (21) -> (22) -> (23) -> (24) -> (25) -> (26) -> output]
(1): cudnn.SpatialConvolution(1 -> 16, 1x64, 1,2, 0,32)
(2): nn.SpatialBatchNormalization (4D) (16)
(3): cudnn.ReLU
(4): cudnn.SpatialMaxPooling(1x8, 1,8)
(5): cudnn.SpatialConvolution(16 -> 32, 1x32, 1,2, 0,16)
(6): nn.SpatialBatchNormalization (4D) (32)
(7): cudnn.ReLU
(8): cudnn.SpatialMaxPooling(1x8, 1,8)
(9): cudnn.SpatialConvolution(32 -> 64, 1x16, 1,2, 0,8)
(10): nn.SpatialBatchNormalization (4D) (64)
(11): cudnn.ReLU
(12): cudnn.SpatialConvolution(64 -> 128, 1x8, 1,2, 0,4)
(13): nn.SpatialBatchNormalization (4D) (128)
(14): cudnn.ReLU
(15): cudnn.SpatialConvolution(128 -> 256, 1x4, 1,2, 0,2)
(16): nn.SpatialBatchNormalization (4D) (256)
(17): cudnn.ReLU
(18): cudnn.SpatialMaxPooling(1x4, 1,4)
(19): cudnn.SpatialConvolution(256 -> 512, 1x4, 1,2, 0,2)
(20): nn.SpatialBatchNormalization (4D) (512)
(21): cudnn.ReLU
(22): cudnn.SpatialConvolution(512 -> 1024, 1x4, 1,2, 0,2)
(23): nn.SpatialBatchNormalization (4D) (1024)
(24): cudnn.ReLU
(25): nn.ConcatTable {
input
|-> (1): cudnn.SpatialConvolution(1024 -> 1000, 1x8, 1,2) -> (2): cudnn.SpatialConvolution(1024 -> 401, 1x8, 1,2)
... -> output
}
(26): nn.MapTable {
cudnn.SpatialSoftMax
}
}
/home/kzhang3256/torch/install/bin/luajit: .../kzhang3256/torch/install/share/lua/5.1/nn/Container.lua:67:
In 1 module of nn.Sequential:
/home/kzhang3256/torch/install/share/lua/5.1/cudnn/init.lua:58: Error in CuDNN: CUDNN_STATUS_NOT_SUPPORTED (cudnnSetFilterNdDescriptor)
stack traceback:
[C]: in function 'error'
/home/kzhang3256/torch/install/share/lua/5.1/cudnn/init.lua:58: in function 'errcheck'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:45: in function 'resetWeightDescriptors'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:358: in function <...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:357>
[C]: in function 'xpcall'
.../kzhang3256/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
...kzhang3256/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
extract_predictions.lua:74: in main chunk
[C]: in function 'dofile'
...3256/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk`enter code here`
[C]: at 0x555d0ebb7610
WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
.../kzhang3256/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
...kzhang3256/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
extract_predictions.lua:74: in main chunk
[C]: in function 'dofile'
...3256/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x555d0ebb7610
任何人都知道这是什么错误: “ CuDNN中的错误:CUDNN_STATUS_NOT_SUPPORTED(cudnnSetFilterNdDescriptor)”
谢谢!
----------