{"action":"created","issue":{"url":"https://api.github.com/repos/PaddlePaddle/models/issues/702","repository_url":"https://api.github.com/repos/PaddlePaddle/models","labels_url":"https://api.github.com/repos/PaddlePaddle/models/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/models/issues/702/comments","events_url":"https://api.github.com/repos/PaddlePaddle/models/issues/702/events","html_url":"https://github.com/PaddlePaddle/models/issues/702","id":303818384,"number":702,"title":"SSD infer.py does not work on CPU","user":{"login":"jczaja","id":15085062,"avatar_url":"https://avatars0.githubusercontent.com/u/15085062?v=4","gravatar_id":"","url":"https://api.github.com/users/jczaja","html_url":"https://github.com/jczaja","followers_url":"https://api.github.com/users/jczaja/followers","following_url":"https://api.github.com/users/jczaja/following{/other_user}","gists_url":"https://api.github.com/users/jczaja/gists{/gist_id}","starred_url":"https://api.github.com/users/jczaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jczaja/subscriptions","organizations_url":"https://api.github.com/users/jczaja/orgs","repos_url":"https://api.github.com/users/jczaja/repos","events_url":"https://api.github.com/users/jczaja/events{/privacy}","received_events_url":"https://api.github.com/users/jczaja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-09T11:59:06Z","updated_at":"2018-03-14T07:34:42Z","closed_at":null,"author_association":"NONE","body":"I tried to use CPU for inference of SSD , using pretrained model of SSD.\r\n\r\nso I modified  paddle init  from:\r\n_-    paddle.init(use_gpu=True, trainer_count=1)_                                                                  \r\nto:\r\n_+    paddle.init(use_gpu=False, trainer_count=1)_                \r\n\r\nInference crashed with an error:\r\n**Unknown pool type: cudnn-max-pool**\r\n\r\nCrash goes away when vgg_ssd_net.py got all instances of following line modified **from:**\r\n\r\n_-        pool_type=paddle.pooling.CudnnMax(),_                                                                         \r\n\r\n**to:**\r\n_+        pool_type=paddle.pooling.Max(),_         \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PaddlePaddle/models/issues/comments/372929760","html_url":"https://github.com/PaddlePaddle/models/issues/702#issuecomment-372929760","issue_url":"https://api.github.com/repos/PaddlePaddle/models/issues/702","id":372929760,"user":{"login":"jczaja","id":15085062,"avatar_url":"https://avatars0.githubusercontent.com/u/15085062?v=4","gravatar_id":"","url":"https://api.github.com/users/jczaja","html_url":"https://github.com/jczaja","followers_url":"https://api.github.com/users/jczaja/followers","following_url":"https://api.github.com/users/jczaja/following{/other_user}","gists_url":"https://api.github.com/users/jczaja/gists{/gist_id}","starred_url":"https://api.github.com/users/jczaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jczaja/subscriptions","organizations_url":"https://api.github.com/users/jczaja/orgs","repos_url":"https://api.github.com/users/jczaja/repos","events_url":"https://api.github.com/users/jczaja/events{/privacy}","received_events_url":"https://api.github.com/users/jczaja/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T07:34:42Z","updated_at":"2018-03-14T07:34:42Z","author_association":"NONE","body":"Ok, but my use case was to do SSD infering using already trained SSD (as provided in your documentation). So having SSD trained on GPU and then performing inference on CPU should be a valid case?"}}
{"actor":{"display_login":"jczaja"}}