{"action":"closed","issue":{"url":"https://api.github.com/repos/zhangqianhui/Conditional-Gans/issues/1","repository_url":"https://api.github.com/repos/zhangqianhui/Conditional-Gans","labels_url":"https://api.github.com/repos/zhangqianhui/Conditional-Gans/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zhangqianhui/Conditional-Gans/issues/1/comments","events_url":"https://api.github.com/repos/zhangqianhui/Conditional-Gans/issues/1/events","html_url":"https://github.com/zhangqianhui/Conditional-Gans/issues/1","id":215107157,"number":1,"title":"IndexError while running operations","user":{"login":"idocal","id":7427177,"avatar_url":"https://avatars2.githubusercontent.com/u/7427177?v=3","gravatar_id":"","url":"https://api.github.com/users/idocal","html_url":"https://github.com/idocal","followers_url":"https://api.github.com/users/idocal/followers","following_url":"https://api.github.com/users/idocal/following{/other_user}","gists_url":"https://api.github.com/users/idocal/gists{/gist_id}","starred_url":"https://api.github.com/users/idocal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idocal/subscriptions","organizations_url":"https://api.github.com/users/idocal/orgs","repos_url":"https://api.github.com/users/idocal/repos","events_url":"https://api.github.com/users/idocal/events{/privacy}","received_events_url":"https://api.github.com/users/idocal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-17T19:57:11Z","updated_at":"2017-04-05T08:38:46Z","closed_at":"2017-04-05T08:38:46Z","body":"Hi, I get the following error while running python main.py --operation 1 , using MNIST dataset.\r\n\r\nTraceback (most recent call last):\r\n  File \"main.py\", line 30, in <module>\r\n    tf.app.run()\r\n  File \"/Users/Ido/tensorflow/lib/python2.7/site-packages/tensorflow/python/platform/app.py\", line 44, in run\r\n    _sys.exit(main(_sys.argv[:1] + flags_passthrough))\r\n  File \"main.py\", line 27, in main\r\n    , model_path= FLAGS.model_path , visua_path=FLAGS.visua_path)\r\n  File \"/Users/Ido/Conditional-Gans/model_mnist.py\", line 37, in dcgan\r\n    data_array , data_y = load_mnist(data_name)\r\n  File \"/Users/Ido/Conditional-Gans/utils.py\", line 48, in load_mnist\r\n    y_vec[i, y[i]] = 1\r\n**IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices**\r\n\r\nAny ideas?\r\nThanks!"}}
{"actor":{"display_login":"zhangqianhui"}}