{"action":"created","issue":{"url":"https://api.github.com/repos/Lorraine333/ACL_CKBC/issues/3","repository_url":"https://api.github.com/repos/Lorraine333/ACL_CKBC","labels_url":"https://api.github.com/repos/Lorraine333/ACL_CKBC/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Lorraine333/ACL_CKBC/issues/3/comments","events_url":"https://api.github.com/repos/Lorraine333/ACL_CKBC/issues/3/events","html_url":"https://github.com/Lorraine333/ACL_CKBC/issues/3","id":308527890,"number":3,"title":"AttributeError: 'TensorVariable' object has no attribute 'get_value'","user":{"login":"ravi03071991","id":12198101,"avatar_url":"https://avatars2.githubusercontent.com/u/12198101?v=4","gravatar_id":"","url":"https://api.github.com/users/ravi03071991","html_url":"https://github.com/ravi03071991","followers_url":"https://api.github.com/users/ravi03071991/followers","following_url":"https://api.github.com/users/ravi03071991/following{/other_user}","gists_url":"https://api.github.com/users/ravi03071991/gists{/gist_id}","starred_url":"https://api.github.com/users/ravi03071991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravi03071991/subscriptions","organizations_url":"https://api.github.com/users/ravi03071991/orgs","repos_url":"https://api.github.com/users/ravi03071991/repos","events_url":"https://api.github.com/users/ravi03071991/events{/privacy}","received_events_url":"https://api.github.com/users/ravi03071991/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T11:08:39Z","updated_at":"2018-04-05T20:54:10Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nI am getting following error when I tried running train.py file from bilinear_ce. Can you help me on this?\r\n\r\n```\r\nUsing cuDNN version 7003 on context None\r\nMapped name None to device cuda: Tesla K80 (0000:00:1E.0)\r\nUsing Training Data../commonsendata/Training/new_omcs600.txt\r\nUsing Word Embeddings with Dimension 200\r\nTraining on 600000 examples using lambda=1e-05\r\nSaving models to: ../models/Bilinear_cetrainSize300frac1.0dSize200relSize150acti0.001.1e-05.800.RAND.tanh.txt\r\nTraceback (most recent call last):\r\n  File \"train.py\", line 84, in <module>\r\n    tm = theano_word_model(We, words, params.embedsize, rel, params.relsize, Rel_init, params.LC, params.Lw, params.eta, params.margin, params.usepeep, params.activation)\r\n  File \"/home/ubuntu/data/sarcasm/bilinear_ce/commonsense.py\", line 262, in __init__\r\n    l_emb = lasagne.layers.EmbeddingLayer(l_in, input_size=self.we.get_value().shape[0], output_size=self.we.get_value().shape[1], W=self.we)\r\nAttributeError: 'TensorVariable' object has no attribute 'get_value'\r\n```\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/Lorraine333/ACL_CKBC/issues/comments/379073386","html_url":"https://github.com/Lorraine333/ACL_CKBC/issues/3#issuecomment-379073386","issue_url":"https://api.github.com/repos/Lorraine333/ACL_CKBC/issues/3","id":379073386,"user":{"login":"Lorraine333","id":10687221,"avatar_url":"https://avatars3.githubusercontent.com/u/10687221?v=4","gravatar_id":"","url":"https://api.github.com/users/Lorraine333","html_url":"https://github.com/Lorraine333","followers_url":"https://api.github.com/users/Lorraine333/followers","following_url":"https://api.github.com/users/Lorraine333/following{/other_user}","gists_url":"https://api.github.com/users/Lorraine333/gists{/gist_id}","starred_url":"https://api.github.com/users/Lorraine333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lorraine333/subscriptions","organizations_url":"https://api.github.com/users/Lorraine333/orgs","repos_url":"https://api.github.com/users/Lorraine333/repos","events_url":"https://api.github.com/users/Lorraine333/events{/privacy}","received_events_url":"https://api.github.com/users/Lorraine333/received_events","type":"User","site_admin":false},"created_at":"2018-04-05T20:54:10Z","updated_at":"2018-04-05T20:54:10Z","author_association":"OWNER","body":"Hi Ravi, \r\n\r\nThanks for using our code and sorry for the late reply!\r\n\r\nI think this might be a software version issue. \r\n\r\nI run it on my machine and on another machine using linux system, the code both works. My theano version is 0.82, python version 2.7.6, scipy version 0.15.1, numpy version 0.11.2.\r\n\r\nThe other machine has the same theano and python version but has scipy verison 0.18.1, numpy version 0.12.0.\r\n\r\nMaybe can you try with these version configurations? Also, are you downloading the embedding from this page http://ttic.uchicago.edu/~kgimpel/commonsense.html of embeddings.txt.gz?\r\n\r\nHope that helps, let me know if you still have issue."}}
{"actor":{"display_login":"Lorraine333"}}