junyanz / CycleGAN

Software that can generate photos from paintings, turn horses into zebras, perform style transfer, and more.
Other
12.23k stars 1.93k forks source link

Error when using cudnn7 #77

Open Naruto-Sasuke opened 6 years ago

Naruto-Sasuke commented 6 years ago
torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:42: attempt to perform arithmetic on field 'groups' (a nil value)
stack traceback:
        ...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:42: in function 'resetWeightDescriptors'
        ...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:93: in function 'checkInputChanged'
        ...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:117: in function 'createIODescriptors'
        ...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:177: in function 'func'

I wonder whether it is the 'cudnn_convert_custom.lua' that goes wrong.

Naruto-Sasuke commented 6 years ago

Have made a PR #78 .