{"action":"created","issue":{"url":"https://api.github.com/repos/sergeyk/selective_search_ijcv_with_python/issues/18","repository_url":"https://api.github.com/repos/sergeyk/selective_search_ijcv_with_python","labels_url":"https://api.github.com/repos/sergeyk/selective_search_ijcv_with_python/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/sergeyk/selective_search_ijcv_with_python/issues/18/comments","events_url":"https://api.github.com/repos/sergeyk/selective_search_ijcv_with_python/issues/18/events","html_url":"https://github.com/sergeyk/selective_search_ijcv_with_python/issues/18","id":180226235,"number":18,"title":"scipy.io.matlab.miobase.MatReadError: Mat file appears to be empty","user":{"login":"trickyMan","id":3348813,"avatar_url":"https://avatars.githubusercontent.com/u/3348813?v=3","gravatar_id":"","url":"https://api.github.com/users/trickyMan","html_url":"https://github.com/trickyMan","followers_url":"https://api.github.com/users/trickyMan/followers","following_url":"https://api.github.com/users/trickyMan/following{/other_user}","gists_url":"https://api.github.com/users/trickyMan/gists{/gist_id}","starred_url":"https://api.github.com/users/trickyMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trickyMan/subscriptions","organizations_url":"https://api.github.com/users/trickyMan/orgs","repos_url":"https://api.github.com/users/trickyMan/repos","events_url":"https://api.github.com/users/trickyMan/events{/privacy}","received_events_url":"https://api.github.com/users/trickyMan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-30T05:59:00Z","updated_at":"2016-10-26T08:50:33Z","closed_at":null,"body":"**Hi, I encounter an issue, When I run selective_search.py , Here is the print.**\r\n`[root@localhost selective_search_ijcv_with_python-master]# python selective_search.py \r\n\r\nTraceback (most recent call last):\r\n  File \"selective_search.py\", line 62, in <module>\r\n    boxes = get_windows(image_filenames)\r\n  File \"selective_search.py\", line 41, in get_windows\r\n    all_boxes = list(scipy.io.loadmat(output_filename)['all_boxes'][0])\r\n  File \"/usr/lib64/python2.7/site-packages/scipy/io/matlab/mio.py\", line 134, in loadmat\r\n    MR = mat_reader_factory(file_name, appendmat, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/scipy/io/matlab/mio.py\", line 58, in mat_reader_factory\r\n    mjv, mnv = get_matfile_version(byte_stream)\r\n  File \"/usr/lib64/python2.7/site-packages/scipy/io/matlab/miobase.py\", line 224, in get_matfile_version\r\n    raise MatReadError(\"Mat file appears to be empty\")\r\nscipy.io.matlab.miobase.MatReadError: Mat file appears to be empty`\r\n\r\n**And I noticed that the output .mat file is empty!!!\r\nAlso I checked the matlab script worked fine(Actually I don't know whether it's OK or not.):**\r\n\r\n\r\n`[root@localhost selective_search_ijcv_with_python-master]# matlab -nojvm -r \"try; selective_search({'/home/philip/Desktop/fast-rcnn/data/demo/selective_search_ijcv_with_python-master/000015.jpg','/home/philip/Desktop/fast-rcnn/data/demo/selective_search_ijcv_with_python-master/cat.jpg','/home/philip/Desktop/fast-rcnn/data/demo/selective_search_ijcv_with_python-master/000015.jpg','/home/philip/Desktop/fast-rcnn/data/demo/selective_search_ijcv_with_python-master/cat.jpg','/home/philip/Desktop/fast-rcnn/data/demo/selective_search_ijcv_with_python-master/000015.jpg','/home/philip/Desktop/fast-rcnn/data/demo/selective_search_ijcv_with_python-master/cat.jpg','/home/philip/Desktop/fast-rcnn/data/demo/selective_search_ijcv_with_python-master/000015.jpg','/home/philip/Desktop/fast-rcnn/data/demo/selective_search_ijcv_with_python-master/cat.jpg'}, '/tmp/tmpaRllSN.mat'); catch; exit; end; exit\"\r\n\r\n \r\n                                            < M A T L A B (R) >\r\n                                  Copyright 1984-2015 The MathWorks, Inc.\r\n                                   R2015b (8.6.0.267246) 64-bit (glnxa64)\r\n                                              August 20, 2015\r\n\r\n \r\nFor online documentation, see http://www.mathworks.com/support\r\nFor product information, visit www.mathworks.com.\r\n`\r\n\r\n**My matlab verison is R2015b:**\r\n`>> version\r\nans =\r\n8.6.0.267246 (R2015b)\r\n`\r\n**My GCC version is:**\r\n`[root@localhost fast-rcnn]# gcc --version\r\ngcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)\r\nCopyright (C) 2016 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS`\r\n\r\n\r\n\r\nPlease help!!!"},"comment":{"url":"https://api.github.com/repos/sergeyk/selective_search_ijcv_with_python/issues/comments/256287086","html_url":"https://github.com/sergeyk/selective_search_ijcv_with_python/issues/18#issuecomment-256287086","issue_url":"https://api.github.com/repos/sergeyk/selective_search_ijcv_with_python/issues/18","id":256287086,"user":{"login":"Lvhhhh","id":13911923,"avatar_url":"https://avatars.githubusercontent.com/u/13911923?v=3","gravatar_id":"","url":"https://api.github.com/users/Lvhhhh","html_url":"https://github.com/Lvhhhh","followers_url":"https://api.github.com/users/Lvhhhh/followers","following_url":"https://api.github.com/users/Lvhhhh/following{/other_user}","gists_url":"https://api.github.com/users/Lvhhhh/gists{/gist_id}","starred_url":"https://api.github.com/users/Lvhhhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lvhhhh/subscriptions","organizations_url":"https://api.github.com/users/Lvhhhh/orgs","repos_url":"https://api.github.com/users/Lvhhhh/repos","events_url":"https://api.github.com/users/Lvhhhh/events{/privacy}","received_events_url":"https://api.github.com/users/Lvhhhh/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T08:50:33Z","updated_at":"2016-10-26T08:50:33Z","body":"i have the same problem and still not solved. please check the path of your picture and i have not seen mat produced by matlab"}}
{"actor":{"display_login":"Lvhhhh"}}