{"action":"created","issue":{"url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1240","repository_url":"https://api.github.com/repos/AlexeyAB/darknet","labels_url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1240/labels{/name}","comments_url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1240/comments","events_url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1240/events","html_url":"https://github.com/AlexeyAB/darknet/issues/1240","id":342586449,"node_id":"MDU6SXNzdWUzNDI1ODY0NDk=","number":1240,"title":"yolov3 in caffe is slow","user":{"login":"hjchai","id":3393892,"node_id":"MDQ6VXNlcjMzOTM4OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/3393892?v=4","gravatar_id":"","url":"https://api.github.com/users/hjchai","html_url":"https://github.com/hjchai","followers_url":"https://api.github.com/users/hjchai/followers","following_url":"https://api.github.com/users/hjchai/following{/other_user}","gists_url":"https://api.github.com/users/hjchai/gists{/gist_id}","starred_url":"https://api.github.com/users/hjchai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjchai/subscriptions","organizations_url":"https://api.github.com/users/hjchai/orgs","repos_url":"https://api.github.com/users/hjchai/repos","events_url":"https://api.github.com/users/hjchai/events{/privacy}","received_events_url":"https://api.github.com/users/hjchai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-19T05:44:41Z","updated_at":"2018-10-02T11:35:46Z","closed_at":null,"author_association":"NONE","body":"I tried to run yolo models in caffe (tools are available online to do the conversion.). However, I noticed that the inference time is much longer in caffe comparing to darknet framework. On my Quadro P4000 with a 416x416, 4 classes yolov3 model, with CUDNN 7.0.5 and CUDA 9.0 enabled for both model:\r\n\r\nDarknet takes ~35ms to do one forward pass, caffe takes ~60ms to do one forward pass. I use the caffe benchmarking tool to benchmark the model. The result shows that conv layer forwarding takes significant longer time in caffe.\r\n\r\nI am not sure if I did not configure caffe correctly or this is what I should expect from caffe. Any body has similar experience? \r\n\r\nAnother strange found was that with and without CUDNN, caffe forward time has very small difference, around 10% difference. But for darknet, without CUDNN almost triple the time with CUDNN. Maybe caffe is not so well optimized for CUDNN? \r\n\r\n@AlexeyAB Alex, do you have any ideas about this? Thanks in advance."},"comment":{"url":"https://api.github.com/repos/AlexeyAB/darknet/issues/comments/426241043","html_url":"https://github.com/AlexeyAB/darknet/issues/1240#issuecomment-426241043","issue_url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1240","id":426241043,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjI0MTA0Mw==","user":{"login":"vinjn","id":558657,"node_id":"MDQ6VXNlcjU1ODY1Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/558657?v=4","gravatar_id":"","url":"https://api.github.com/users/vinjn","html_url":"https://github.com/vinjn","followers_url":"https://api.github.com/users/vinjn/followers","following_url":"https://api.github.com/users/vinjn/following{/other_user}","gists_url":"https://api.github.com/users/vinjn/gists{/gist_id}","starred_url":"https://api.github.com/users/vinjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinjn/subscriptions","organizations_url":"https://api.github.com/users/vinjn/orgs","repos_url":"https://api.github.com/users/vinjn/repos","events_url":"https://api.github.com/users/vinjn/events{/privacy}","received_events_url":"https://api.github.com/users/vinjn/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T11:35:46Z","updated_at":"2018-10-02T11:35:46Z","author_association":"NONE","body":"I recommend you using nvvp to profile two runs.\r\nhttps://developer.nvidia.com/nvidia-visual-profiler"}}
{"actor":{"display_login":"vinjn"}}