{"action":"created","issue":{"url":"https://api.github.com/repos/tflearn/tflearn/issues/460","repository_url":"https://api.github.com/repos/tflearn/tflearn","labels_url":"https://api.github.com/repos/tflearn/tflearn/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/tflearn/tflearn/issues/460/comments","events_url":"https://api.github.com/repos/tflearn/tflearn/issues/460/events","html_url":"https://github.com/tflearn/tflearn/issues/460","id":189046767,"number":460,"title":"UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape.","user":{"login":"KihongHeo","id":1281633,"avatar_url":"https://avatars.githubusercontent.com/u/1281633?v=3","gravatar_id":"","url":"https://api.github.com/users/KihongHeo","html_url":"https://github.com/KihongHeo","followers_url":"https://api.github.com/users/KihongHeo/followers","following_url":"https://api.github.com/users/KihongHeo/following{/other_user}","gists_url":"https://api.github.com/users/KihongHeo/gists{/gist_id}","starred_url":"https://api.github.com/users/KihongHeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KihongHeo/subscriptions","organizations_url":"https://api.github.com/users/KihongHeo/orgs","repos_url":"https://api.github.com/users/KihongHeo/repos","events_url":"https://api.github.com/users/KihongHeo/events{/privacy}","received_events_url":"https://api.github.com/users/KihongHeo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-14T07:37:04Z","updated_at":"2016-11-18T02:44:41Z","closed_at":null,"body":"Hi TFLearn Team,\r\n\r\nI am new to tensorflow and tflearn and implementing a classifier using LSTM. \r\nIn the meanwhileI, encountered the following warning:\r\n\r\n/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gradients.py:90: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.\r\n  \"Converting sparse IndexedSlices to a dense Tensor of unknown shape. \"\r\n\r\nI cannot understand what it means. Could you give me a solution?\r\n\r\nHere is a part of my code:\r\n\r\nnet = tflearn.input_data([None, 500]) \r\nnet = tflearn.embedding(net, input_dim=len(dic), output_dim=128)\r\nnet = tflearn.lstm(net, 1024, dropout=0.8, dynamic=True)\r\nnet = tflearn.fully_connected(net, 2, activation='softmax')\r\nnet = tflearn.regression(net, optimizer='adam', learning_rate=args.rate,\r\n                                loss='categorical_crossentropy')\r\nmodel = tflearn.DNN(net, tensorboard_verbose=3)\r\n\r\nThanks. "},"comment":{"url":"https://api.github.com/repos/tflearn/tflearn/issues/comments/261434509","html_url":"https://github.com/tflearn/tflearn/issues/460#issuecomment-261434509","issue_url":"https://api.github.com/repos/tflearn/tflearn/issues/460","id":261434509,"user":{"login":"KihongHeo","id":1281633,"avatar_url":"https://avatars.githubusercontent.com/u/1281633?v=3","gravatar_id":"","url":"https://api.github.com/users/KihongHeo","html_url":"https://github.com/KihongHeo","followers_url":"https://api.github.com/users/KihongHeo/followers","following_url":"https://api.github.com/users/KihongHeo/following{/other_user}","gists_url":"https://api.github.com/users/KihongHeo/gists{/gist_id}","starred_url":"https://api.github.com/users/KihongHeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KihongHeo/subscriptions","organizations_url":"https://api.github.com/users/KihongHeo/orgs","repos_url":"https://api.github.com/users/KihongHeo/repos","events_url":"https://api.github.com/users/KihongHeo/events{/privacy}","received_events_url":"https://api.github.com/users/KihongHeo/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T02:44:41Z","updated_at":"2016-11-18T02:44:41Z","body":"Sorry. It was my mistake during copy and paste. My actual code has only one embedding. (I fixed the above code)"}}
{"actor":{"display_login":"KihongHeo"}}