{"action":"opened","issue":{"url":"https://api.github.com/repos/beniz/deepdetect/issues/119","repository_url":"https://api.github.com/repos/beniz/deepdetect","labels_url":"https://api.github.com/repos/beniz/deepdetect/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/beniz/deepdetect/issues/119/comments","events_url":"https://api.github.com/repos/beniz/deepdetect/issues/119/events","html_url":"https://github.com/beniz/deepdetect/issues/119","id":154366839,"number":119,"title":"centos 7 cannot run image prediction example","user":{"login":"chaos2008","id":1670921,"avatar_url":"https://avatars.githubusercontent.com/u/1670921?v=3","gravatar_id":"","url":"https://api.github.com/users/chaos2008","html_url":"https://github.com/chaos2008","followers_url":"https://api.github.com/users/chaos2008/followers","following_url":"https://api.github.com/users/chaos2008/following{/other_user}","gists_url":"https://api.github.com/users/chaos2008/gists{/gist_id}","starred_url":"https://api.github.com/users/chaos2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaos2008/subscriptions","organizations_url":"https://api.github.com/users/chaos2008/orgs","repos_url":"https://api.github.com/users/chaos2008/repos","events_url":"https://api.github.com/users/chaos2008/events{/privacy}","received_events_url":"https://api.github.com/users/chaos2008/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-11T23:39:52Z","updated_at":"2016-05-11T23:39:52Z","closed_at":null,"body":"Hi Beniz,\r\n\r\nThanks for doing this great work of making a docker file. \r\n\r\nI am new to this deepdetect package. I am facing a problem running this docker image under CentOS 7, specifically version 3.10.0-327.el7.x86_64.\r\n\r\nI successfully ran the docker image \"deepdetect_cpu\" in Ubuntu 14.04, and had no problem with the following example lines.\r\n\r\n`docker run -d -p 8080:8080 beniz/deepdetect_cpu`\r\n`curl http://localhost:8080/info`\r\n`curl -X PUT \"http://localhost:8080/services/imageserv\" -d \"{\\\"mllib\\\":\\\"caffe\\\",\\\"description\\\":\\\"image classification service\\\",\\\"type\\\":\\\"supervised\\\",\\\"parameters\\\":{\\\"input\\\":{\\\"connector\\\":\\\"image\\\"},\\\"mllib\\\":{\\\"nclasses\\\":1000,\\\"template\\\":\\\"googlenet\\\"}},\\\"model\\\":{\\\"templates\\\":\\\"../templates/caffe/\\\",\\\"repository\\\":\\\"/opt/models/ggnet/\\\"}}\"`\r\n`curl -X POST \"http://localhost:8080/predict\" -d \"{\\\"service\\\":\\\"imageserv\\\",\\\"parameters\\\":{\\\"input\\\":{\\\"width\\\":224,\\\"height\\\":224},\\\"output\\\":{\\\"best\\\":3},\\\"mllib\\\":{\\\"gpu\\\":false}},\\\"data\\\":[\\\"http://i.ytimg.com/vi/0vxOhd4qlnA/maxresdefault.jpg\\\"]}\"`\r\n\r\nBut in CentOS 7, the service is created successfully. It returns the following as in the example.\r\n\r\n`{\"status\":{\"code\":201,\"msg\":\"Created\"}}`\r\n\r\nBut if I go on to do the prediction line, I will get\r\n\r\n`{\"status\":{\"code\":400,\"msg\":\"BadRequest\",\"dd_code\":1006,\"dd_msg\":\"Service Bad Request Error\"}}`\r\n\r\nCould you take a look at this? It seems I am missing something obvious, but I can tell where.\r\n\r\nThanks."}}