{"action":"opened","issue":{"url":"https://api.github.com/repos/aurotripathy/lstm-anomaly-detect/issues/2","repository_url":"https://api.github.com/repos/aurotripathy/lstm-anomaly-detect","labels_url":"https://api.github.com/repos/aurotripathy/lstm-anomaly-detect/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/aurotripathy/lstm-anomaly-detect/issues/2/comments","events_url":"https://api.github.com/repos/aurotripathy/lstm-anomaly-detect/issues/2/events","html_url":"https://github.com/aurotripathy/lstm-anomaly-detect/issues/2","id":222979252,"number":2,"title":"unable to run the program","user":{"login":"abhishekscript","id":5508289,"avatar_url":"https://avatars2.githubusercontent.com/u/5508289?v=3","gravatar_id":"","url":"https://api.github.com/users/abhishekscript","html_url":"https://github.com/abhishekscript","followers_url":"https://api.github.com/users/abhishekscript/followers","following_url":"https://api.github.com/users/abhishekscript/following{/other_user}","gists_url":"https://api.github.com/users/abhishekscript/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishekscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishekscript/subscriptions","organizations_url":"https://api.github.com/users/abhishekscript/orgs","repos_url":"https://api.github.com/users/abhishekscript/repos","events_url":"https://api.github.com/users/abhishekscript/events{/privacy}","received_events_url":"https://api.github.com/users/abhishekscript/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-20T07:53:34Z","updated_at":"2017-04-20T07:53:34Z","closed_at":null,"body":"Hi , \r\nI tried running this program but got following error : \r\n`Using TensorFlow backend.\r\nLoading data... \r\n('wave1', 1000)\r\n('wave2', 1000)\r\n('wave3', 50)\r\nTraceback (most recent call last):\r\n  File \"lstm-synthetic-wave-anomaly-detect.py\", line 196, in <module>\r\n    run_network()\r\n  File \"lstm-synthetic-wave-anomaly-detect.py\", line 152, in run_network\r\n    X_train, y_train, X_test, y_test = get_split_prep_data(0, 700, 500, 1000)\r\n  File \"lstm-synthetic-wave-anomaly-detect.py\", line 70, in get_split_prep_data\r\n    data = gen_wave()\r\n  File \"lstm-synthetic-wave-anomaly-detect.py\", line 56, in gen_wave\r\n    wave1[insert:insert + 50] = wave1[insert:insert + 50] + wave3\r\nTypeError: slice indices must be integers or None or have an __index__ method`\r\n\r\nI did not modify anything , just ran the code as it is yet got this error .\r\nCan you please help what went wrong ?"}}
{"actor":{"display_login":"abhishekscript"}}