{"action":"created","issue":{"url":"https://api.github.com/repos/clcarwin/sphereface_pytorch/issues/13","repository_url":"https://api.github.com/repos/clcarwin/sphereface_pytorch","labels_url":"https://api.github.com/repos/clcarwin/sphereface_pytorch/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/clcarwin/sphereface_pytorch/issues/13/comments","events_url":"https://api.github.com/repos/clcarwin/sphereface_pytorch/issues/13/events","html_url":"https://github.com/clcarwin/sphereface_pytorch/issues/13","id":284849745,"number":13,"title":"TypeError: 'float' object cannot be interpreted as an integer","user":{"login":"lucaskyle","id":26672545,"avatar_url":"https://avatars2.githubusercontent.com/u/26672545?v=4","gravatar_id":"","url":"https://api.github.com/users/lucaskyle","html_url":"https://github.com/lucaskyle","followers_url":"https://api.github.com/users/lucaskyle/followers","following_url":"https://api.github.com/users/lucaskyle/following{/other_user}","gists_url":"https://api.github.com/users/lucaskyle/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaskyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaskyle/subscriptions","organizations_url":"https://api.github.com/users/lucaskyle/orgs","repos_url":"https://api.github.com/users/lucaskyle/repos","events_url":"https://api.github.com/users/lucaskyle/events{/privacy}","received_events_url":"https://api.github.com/users/lucaskyle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-28T06:22:56Z","updated_at":"2017-12-28T15:22:15Z","closed_at":null,"author_association":"NONE","body":"\r\nFile  dataset.py  line 62, in __init__\r\n\r\nself.nparrimage = np.frombuffer(self.arrimage.get_obj(),np.float32).reshape(10,len(self.arrimage)/10)\r\nTypeError: 'float' object cannot be interpreted as an integer\r\n"},"comment":{"url":"https://api.github.com/repos/clcarwin/sphereface_pytorch/issues/comments/354304697","html_url":"https://github.com/clcarwin/sphereface_pytorch/issues/13#issuecomment-354304697","issue_url":"https://api.github.com/repos/clcarwin/sphereface_pytorch/issues/13","id":354304697,"user":{"login":"lucaskyle","id":26672545,"avatar_url":"https://avatars2.githubusercontent.com/u/26672545?v=4","gravatar_id":"","url":"https://api.github.com/users/lucaskyle","html_url":"https://github.com/lucaskyle","followers_url":"https://api.github.com/users/lucaskyle/followers","following_url":"https://api.github.com/users/lucaskyle/following{/other_user}","gists_url":"https://api.github.com/users/lucaskyle/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaskyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaskyle/subscriptions","organizations_url":"https://api.github.com/users/lucaskyle/orgs","repos_url":"https://api.github.com/users/lucaskyle/repos","events_url":"https://api.github.com/users/lucaskyle/events{/privacy}","received_events_url":"https://api.github.com/users/lucaskyle/received_events","type":"User","site_admin":false},"created_at":"2017-12-28T15:22:15Z","updated_at":"2017-12-28T15:22:15Z","author_association":"NONE","body":"亲\r\n\r\n你好\r\n\r\n前面跑了一下训练完模型.\r\n\r\n99.15% 好棒啊！\r\n\r\n\r\n不过 跑了一次train.py 时候报错了\r\n\r\n把/改成// 跑了一次 只能完成第一次的epoch\r\n\r\n\r\n\r\n我很仔细的读过了论文。\r\n\r\n准备稍微改成4层的看看能不能有98%的准确率\r\n\r\n而且十分喜欢 你定义的 a-softmaxloss\r\n\r\n对照着论文看还是没看懂...\r\n\r\n\r\n新年快乐，\r\n\r\n恭喜发财.\r\n\r\n\r\n\r\n________________________________\r\n发件人: LingJiangXie <notifications@github.com>\r\n发送时间: 2017年12月28日 8:43\r\n收件人: clcarwin/sphereface_pytorch\r\n抄送: lucaskyle; Author\r\n主题: Re: [clcarwin/sphereface_pytorch] TypeError: 'float' object cannot be interpreted as an integer (#13)\r\n\r\n\r\nMaybe you can change your python version to 2.7 .\r\n\r\n―\r\nYou are receiving this because you authored the thread.\r\nReply to this email directly, view it on GitHub<https://github.com/clcarwin/sphereface_pytorch/issues/13#issuecomment-354252157>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AZb9oUhrOPdeEJbBBn-nxoARIFaXn6W1ks5tE1S7gaJpZM4ROC2k>.\r\n"}}
{"actor":{"display_login":"lucaskyle"}}