{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/5712","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/5712/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/5712/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/5712/events","html_url":"https://github.com/fchollet/keras/issues/5712","id":213531183,"number":5712,"title":"The problem of GPU for keras using tensorflow backend ?","user":{"login":"litingsjj","id":22285793,"avatar_url":"https://avatars2.githubusercontent.com/u/22285793?v=3","gravatar_id":"","url":"https://api.github.com/users/litingsjj","html_url":"https://github.com/litingsjj","followers_url":"https://api.github.com/users/litingsjj/followers","following_url":"https://api.github.com/users/litingsjj/following{/other_user}","gists_url":"https://api.github.com/users/litingsjj/gists{/gist_id}","starred_url":"https://api.github.com/users/litingsjj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litingsjj/subscriptions","organizations_url":"https://api.github.com/users/litingsjj/orgs","repos_url":"https://api.github.com/users/litingsjj/repos","events_url":"https://api.github.com/users/litingsjj/events{/privacy}","received_events_url":"https://api.github.com/users/litingsjj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-11T14:16:39Z","updated_at":"2017-03-14T19:28:10Z","closed_at":null,"body":"When I using keras by theano,\r\n\r\nimport keras\r\nUsing Theano backend.\r\nUsing gpu device 0: GeForce GTX 1080 (CNMeM is enabled with initial size: 10.0% of memory, cuDNN 5105)\r\n/home/lt/anaconda3/lib/python3.5/site-packages/theano/sandbox/cuda/__init__.py:600: UserWarning: Your cuDNN version is more recent than the one Theano officially supports. If you see any problems, try updating Theano or downgrading cuDNN to version 5.\r\n  warnings.warn(warn)\r\n\r\nThe GPU can work well!\r\nBut now I switch tensorflow, \r\n\r\nimport keras\r\nUsing TensorFlow backend.(Just it !)\r\n\r\nand when I run the demo, GPU doesn't work! Is keras can use GPU automatically when using tensorflow backend?\r\n"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/286533573","html_url":"https://github.com/fchollet/keras/issues/5712#issuecomment-286533573","issue_url":"https://api.github.com/repos/fchollet/keras/issues/5712","id":286533573,"user":{"login":"xiaoleihuang","id":5849826,"avatar_url":"https://avatars1.githubusercontent.com/u/5849826?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoleihuang","html_url":"https://github.com/xiaoleihuang","followers_url":"https://api.github.com/users/xiaoleihuang/followers","following_url":"https://api.github.com/users/xiaoleihuang/following{/other_user}","gists_url":"https://api.github.com/users/xiaoleihuang/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoleihuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoleihuang/subscriptions","organizations_url":"https://api.github.com/users/xiaoleihuang/orgs","repos_url":"https://api.github.com/users/xiaoleihuang/repos","events_url":"https://api.github.com/users/xiaoleihuang/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoleihuang/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T19:28:10Z","updated_at":"2017-03-14T19:28:10Z","body":"I agree with @patyork 's idea. Because the Theano can find the cuda library. If you installed the tensorflow-gpu version, the terminal should have shown it found local cudnn library successfully. "}}
{"actor":{"display_login":"xiaoleihuang"}}