Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cudnn.SpatialDilatedConvolution #2

Closed
musicrainie opened this issue Nov 26, 2018 · 3 comments
Closed

cudnn.SpatialDilatedConvolution #2

musicrainie opened this issue Nov 26, 2018 · 3 comments

Comments

@musicrainie
Copy link

musicrainie commented Nov 26, 2018

When run "th ./test_smooth.lua", I got the following error "...age_Smoothing/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <cudnn.SpatialDilatedConvolution>", which occurred in the line

model = torch.load(modelfile)

In my installation, the 'SpatialDilatedConvolution' can be found in "./torch/extra/nn/init.lua" but not in "./torch/extra/cudnn/init.lua", which makes me think this cudnn version of SpatialDilatedConvolution is your implementation. Is that the case?

My setting is Ubuntu16.04, torch7, cuda-8.0 and cudnn-6.0, and I have succeeded in compiling all the files under the "/compilation" folder according to your instructions.

Any help would be appreciated.

@fqnchina
Copy link
Owner

Hi,

The problem lies in incompatible version of CUDNN. Probably in cudnn-6.0, this function is not implemented. I will suggest to update the cudnn version and compile its corresponding module in ./torch/extra/cudnn/.

To install the corresponding cudnn module, you can download it from https://github.com/soumith/cudnn.torch, run "git checkout R*", and compile it again.

Thanks,

@musicrainie
Copy link
Author

As you said, cudnn6 was updated to version7 and the test passed. Thanks very much. Gorgeous work and amazing results, btw.

@sameerkumar358
Copy link

@musicrainie does Ubuntu16.04, torch7, cuda-8.0 and cudnn-7.0 worked in your case??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants