{"action":"created","issue":{"url":"https://api.github.com/repos/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/issues/35","repository_url":"https://api.github.com/repos/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation","labels_url":"https://api.github.com/repos/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/issues/35/comments","events_url":"https://api.github.com/repos/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/issues/35/events","html_url":"https://github.com/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/issues/35","id":274489696,"number":35,"title":"Error while running generate_hdf5.py","user":{"login":"Yuren-Zhong","id":29945925,"avatar_url":"https://avatars0.githubusercontent.com/u/29945925?v=4","gravatar_id":"","url":"https://api.github.com/users/Yuren-Zhong","html_url":"https://github.com/Yuren-Zhong","followers_url":"https://api.github.com/users/Yuren-Zhong/followers","following_url":"https://api.github.com/users/Yuren-Zhong/following{/other_user}","gists_url":"https://api.github.com/users/Yuren-Zhong/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuren-Zhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuren-Zhong/subscriptions","organizations_url":"https://api.github.com/users/Yuren-Zhong/orgs","repos_url":"https://api.github.com/users/Yuren-Zhong/repos","events_url":"https://api.github.com/users/Yuren-Zhong/events{/privacy}","received_events_url":"https://api.github.com/users/Yuren-Zhong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-16T11:53:19Z","updated_at":"2017-11-16T13:50:32Z","closed_at":null,"author_association":"NONE","body":"While I run `python generate_hdf5.py`,\r\nthe output is : \r\n\r\nloading annotations into memory...\r\nDone (t=5.35s)\r\ncreating index...\r\nindex created!\r\nImage ID  391895\r\nImage ID  522418\r\nImage ID  184613\r\nImage ID  318219\r\n...\r\nImage ID  407646\r\nImage ID  220310\r\nImage ID  512403\r\nImage ID  168974\r\nImage ID  552775\r\nImage ID  394940\r\nImage ID  15335\r\nNum samples  55242\r\nTraceback (most recent call last):\r\n  File \"generate_hdf5.py\", line 322, in <module>\r\n    writeHDF5()\r\n  File \"generate_hdf5.py\", line 290, in writeHDF5\r\n    img4ch = np.concatenate((img, meta_data, mask_miss[..., None], mask_all[..., None]),\r\nTypeError: 'NoneType' object is not subscriptable"},"comment":{"url":"https://api.github.com/repos/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/issues/comments/344928088","html_url":"https://github.com/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/issues/35#issuecomment-344928088","issue_url":"https://api.github.com/repos/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/issues/35","id":344928088,"user":{"login":"piperod","id":13397888,"avatar_url":"https://avatars0.githubusercontent.com/u/13397888?v=4","gravatar_id":"","url":"https://api.github.com/users/piperod","html_url":"https://github.com/piperod","followers_url":"https://api.github.com/users/piperod/followers","following_url":"https://api.github.com/users/piperod/following{/other_user}","gists_url":"https://api.github.com/users/piperod/gists{/gist_id}","starred_url":"https://api.github.com/users/piperod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piperod/subscriptions","organizations_url":"https://api.github.com/users/piperod/orgs","repos_url":"https://api.github.com/users/piperod/repos","events_url":"https://api.github.com/users/piperod/events{/privacy}","received_events_url":"https://api.github.com/users/piperod/received_events","type":"User","site_admin":false},"created_at":"2017-11-16T13:50:32Z","updated_at":"2017-11-16T13:50:32Z","author_association":"NONE","body":"It happened to me once too. I wasn't creating all the masks for all the files, so when it read the mask or the image found and empty \"NoneType' array. I suggest you to check that you have all the masks generated for all the files you are including in the annotations. "}}
{"actor":{"display_login":"piperod"}}