{"action":"created","issue":{"url":"https://api.github.com/repos/yqyao/SSD_Pytorch/issues/16","repository_url":"https://api.github.com/repos/yqyao/SSD_Pytorch","labels_url":"https://api.github.com/repos/yqyao/SSD_Pytorch/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/yqyao/SSD_Pytorch/issues/16/comments","events_url":"https://api.github.com/repos/yqyao/SSD_Pytorch/issues/16/events","html_url":"https://github.com/yqyao/SSD_Pytorch/issues/16","id":394071852,"node_id":"MDU6SXNzdWUzOTQwNzE4NTI=","number":16,"title":"demo","user":{"login":"rw1995","id":37976371,"node_id":"MDQ6VXNlcjM3OTc2Mzcx","avatar_url":"https://avatars2.githubusercontent.com/u/37976371?v=4","gravatar_id":"","url":"https://api.github.com/users/rw1995","html_url":"https://github.com/rw1995","followers_url":"https://api.github.com/users/rw1995/followers","following_url":"https://api.github.com/users/rw1995/following{/other_user}","gists_url":"https://api.github.com/users/rw1995/gists{/gist_id}","starred_url":"https://api.github.com/users/rw1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rw1995/subscriptions","organizations_url":"https://api.github.com/users/rw1995/orgs","repos_url":"https://api.github.com/users/rw1995/repos","events_url":"https://api.github.com/users/rw1995/events{/privacy}","received_events_url":"https://api.github.com/users/rw1995/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-26T03:15:31Z","updated_at":"2018-12-28T13:05:46Z","closed_at":null,"author_association":"NONE","body":"师兄，我有些问题需要您的帮助\r\n在运行代码前，我做了以下的工作\r\n1. sh make.sh ，将ssd_portch中nms文件夹中的长串名重命名cpu_nms.so和gup.nums.so,删除了sh文件中的两个mv，尽管我使用了anaconda虚拟环境，但是没有更改，因为没有出现问题\r\n运行显示\r\n$ sh make.shrunning build_ext\r\nskipping 'nms/cpu_nms.c' Cython extension (up-to-date)\r\nskipping 'nms/gpu_nms.cpp' Cython extension (up-to-date)\r\n————————————————————————————————————————————\r\n2.将demo.py中的cuda_device_version从“1，0”改为了0，这个保证了可以不显示cuda(38)错误\r\n错误如下\r\nRuntimeError: cuda runtime error (38) : no CUDA-capable device is detected at /pytorch/aten/src/THC/THCGeneral.cpp:70\r\n————————————————————————————————————————————\r\n3.将from data import import COCODectio.... 改为 from data.coco import COCODection 其他类似 \r\n----------------------------------------------------------------------------------------------------------\r\n\r\n\r\n但是我现在运行您的demo.py代码，出现了问题\r\n(pytorch0.4.0) csy@csy:~/SSD_Pytorch$ python demo.py --cfg ./configs/ssd_vgg_voc.yaml --images ./images --save_folder ./output\r\nTraceback (most recent call last):\r\n  File \"demo.py\", line 173, in <module>\r\n    main()\r\n  File \"demo.py\", line 142, in main\r\n    checkpoint = torch.load(args.weights)\r\n  File \"/home/csy/anaconda3/envs/pytorch0.4.0/lib/python3.5/site-packages/torch/serialization.py\", line 301, in load\r\n    f = open(f, 'rb')\r\nFileNotFoundError: [Errno 2] No such file or directory: 'weights/ssd_darknet_300.pth'\r\n\r\n我找不到ssd_darknet_300pth，我不知道这是如何产生的，我正在调整上面173.142的问题，应该是我的电脑配置不是一样导致的\r\n\r\n\r\n望师兄指教，多谢了，这将是我第一个运行的代码，十分希望您能教教我 "},"comment":{"url":"https://api.github.com/repos/yqyao/SSD_Pytorch/issues/comments/450356391","html_url":"https://github.com/yqyao/SSD_Pytorch/issues/16#issuecomment-450356391","issue_url":"https://api.github.com/repos/yqyao/SSD_Pytorch/issues/16","id":450356391,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDM1NjM5MQ==","user":{"login":"yqyao","id":20680893,"node_id":"MDQ6VXNlcjIwNjgwODkz","avatar_url":"https://avatars3.githubusercontent.com/u/20680893?v=4","gravatar_id":"","url":"https://api.github.com/users/yqyao","html_url":"https://github.com/yqyao","followers_url":"https://api.github.com/users/yqyao/followers","following_url":"https://api.github.com/users/yqyao/following{/other_user}","gists_url":"https://api.github.com/users/yqyao/gists{/gist_id}","starred_url":"https://api.github.com/users/yqyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqyao/subscriptions","organizations_url":"https://api.github.com/users/yqyao/orgs","repos_url":"https://api.github.com/users/yqyao/repos","events_url":"https://api.github.com/users/yqyao/events{/privacy}","received_events_url":"https://api.github.com/users/yqyao/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T13:05:46Z","updated_at":"2018-12-28T13:05:46Z","author_association":"OWNER","body":"这个问题我先关了，如果还有问题你可以重新打开 @rw1995 "}}
{"actor":{"display_login":"yqyao"}}