{"action":"opened","issue":{"url":"https://api.github.com/repos/luigivieira/emotions/issues/3","repository_url":"https://api.github.com/repos/luigivieira/emotions","labels_url":"https://api.github.com/repos/luigivieira/emotions/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/luigivieira/emotions/issues/3/comments","events_url":"https://api.github.com/repos/luigivieira/emotions/issues/3/events","html_url":"https://github.com/luigivieira/emotions/issues/3","id":329593338,"node_id":"MDU6SXNzdWUzMjk1OTMzMzg=","number":3,"title":"cannot convert float infinity to integer","user":{"login":"zhaoxuyan","id":29044917,"node_id":"MDQ6VXNlcjI5MDQ0OTE3","avatar_url":"https://avatars2.githubusercontent.com/u/29044917?v=4","gravatar_id":"","url":"https://api.github.com/users/zhaoxuyan","html_url":"https://github.com/zhaoxuyan","followers_url":"https://api.github.com/users/zhaoxuyan/followers","following_url":"https://api.github.com/users/zhaoxuyan/following{/other_user}","gists_url":"https://api.github.com/users/zhaoxuyan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoxuyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoxuyan/subscriptions","organizations_url":"https://api.github.com/users/zhaoxuyan/orgs","repos_url":"https://api.github.com/users/zhaoxuyan/repos","events_url":"https://api.github.com/users/zhaoxuyan/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoxuyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-05T19:27:34Z","updated_at":"2018-06-05T19:27:34Z","closed_at":null,"author_association":"NONE","body":"I use cmd like this: `python test.py -i 0`\r\nand I received the error:\r\n`$ python test.py -i 0\r\n/Users/zhaoxuyan/anaconda/lib/python2.7/site-packages/skimage/filters/_gabor.py:76: RuntimeWarning: divide by zero encountered in double_scalars\r\n  sigma_x = _sigma_prefactor(bandwidth) / frequency\r\n/Users/zhaoxuyan/anaconda/lib/python2.7/site-packages/skimage/filters/_gabor.py:78: RuntimeWarning: divide by zero encountered in double_scalars\r\n  sigma_y = _sigma_prefactor(bandwidth) / frequency\r\n/Users/zhaoxuyan/anaconda/lib/python2.7/site-packages/skimage/filters/_gabor.py:81: RuntimeWarning: invalid value encountered in double_scalars\r\n  np.abs(n_stds * sigma_y * np.sin(theta)), 1))\r\n/Users/zhaoxuyan/anaconda/lib/python2.7/site-packages/skimage/filters/_gabor.py:83: RuntimeWarning: invalid value encountered in double_scalars\r\n  np.abs(n_stds * sigma_x * np.sin(theta)), 1))\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 503, in <module>\r\n    main(sys.argv[1:])\r\n  File \"test.py\", line 244, in main\r\n    data = VideoData()\r\n  File \"test.py\", line 57, in __init__\r\n    self._bank = GaborBank()\r\n  File \"/Users/zhaoxuyan/Documents/GitHub/emotions/gabor.py\", line 153, in __init__\r\n    kernel = gabor_kernel(frequency, orientation)\r\n  File \"/Users/zhaoxuyan/anaconda/lib/python2.7/site-packages/skimage/filters/_gabor.py\", line 84, in gabor_kernel\r\n    y, x = np.mgrid[-y0:y0 + 1, -x0:x0 + 1]\r\n  File \"/Users/zhaoxuyan/anaconda/lib/python2.7/site-packages/numpy/lib/index_tricks.py\", line 167, in __getitem__\r\n    int(math.ceil((key[k].stop - start)/(step*1.0))))\r\nOverflowError: cannot convert float infinity to integer\r\nCleaned up camera.\r\n`"}}
{"actor":{"display_login":"zhaoxuyan"}}