{"action":"created","issue":{"url":"https://api.github.com/repos/vlfeat/matconvnet/issues/401","repository_url":"https://api.github.com/repos/vlfeat/matconvnet","labels_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/401/comments","events_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/401/events","html_url":"https://github.com/vlfeat/matconvnet/issues/401","id":131378303,"number":401,"title":"Exploding gradients with Matlab2015a+Cuda7.0+Cudnn4 in MatConvNet-beta18","user":{"login":"nightrome","id":1212780,"avatar_url":"https://avatars.githubusercontent.com/u/1212780?v=3","gravatar_id":"","url":"https://api.github.com/users/nightrome","html_url":"https://github.com/nightrome","followers_url":"https://api.github.com/users/nightrome/followers","following_url":"https://api.github.com/users/nightrome/following{/other_user}","gists_url":"https://api.github.com/users/nightrome/gists{/gist_id}","starred_url":"https://api.github.com/users/nightrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightrome/subscriptions","organizations_url":"https://api.github.com/users/nightrome/orgs","repos_url":"https://api.github.com/users/nightrome/repos","events_url":"https://api.github.com/users/nightrome/events{/privacy}","received_events_url":"https://api.github.com/users/nightrome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-04T15:14:22Z","updated_at":"2016-02-04T15:38:23Z","closed_at":null,"body":"After upgrading from beta17 to beta18 and using the new provided models, I experience exploding gradients (and eventually nan and inf values) on both AlexNet and VGG16 (with and without response normalization layer). This was not the case in beta17. And it only occurs when I compile with Cudnn support. Otherwise there are no problems, despite still using the GPU.\r\nAre there any known incompatibilities with Matlab2015a+Cuda7.0+Cudnn4 in MatConvNet-beta18 on Ubuntu 15.04?"},"comment":{"url":"https://api.github.com/repos/vlfeat/matconvnet/issues/comments/179904463","html_url":"https://github.com/vlfeat/matconvnet/issues/401#issuecomment-179904463","issue_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/401","id":179904463,"user":{"login":"nightrome","id":1212780,"avatar_url":"https://avatars.githubusercontent.com/u/1212780?v=3","gravatar_id":"","url":"https://api.github.com/users/nightrome","html_url":"https://github.com/nightrome","followers_url":"https://api.github.com/users/nightrome/followers","following_url":"https://api.github.com/users/nightrome/following{/other_user}","gists_url":"https://api.github.com/users/nightrome/gists{/gist_id}","starred_url":"https://api.github.com/users/nightrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightrome/subscriptions","organizations_url":"https://api.github.com/users/nightrome/orgs","repos_url":"https://api.github.com/users/nightrome/repos","events_url":"https://api.github.com/users/nightrome/events{/privacy}","received_events_url":"https://api.github.com/users/nightrome/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T15:38:23Z","updated_at":"2016-02-04T15:38:23Z","body":"I am using (several) GTX Titan X.\r\nIt turns out that the problem also exists - although to a lesser degree - without Cudnn on the new imagenet-matconvnet-alex model, but not on imagenet-caffe-alex, imagenet-caffe-ref or imagenet-matconvnet-vgg-verydeep-16 models."}}