{"action":"opened","issue":{"url":"https://api.github.com/repos/jhlau/doc2vec/issues/9","repository_url":"https://api.github.com/repos/jhlau/doc2vec","labels_url":"https://api.github.com/repos/jhlau/doc2vec/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/jhlau/doc2vec/issues/9/comments","events_url":"https://api.github.com/repos/jhlau/doc2vec/issues/9/events","html_url":"https://github.com/jhlau/doc2vec/issues/9","id":225517229,"number":9,"title":"AttributeError: 'Doc2Vec' object has no attribute 'wv'","user":{"login":"susierao","id":19934422,"avatar_url":"https://avatars0.githubusercontent.com/u/19934422?v=3","gravatar_id":"","url":"https://api.github.com/users/susierao","html_url":"https://github.com/susierao","followers_url":"https://api.github.com/users/susierao/followers","following_url":"https://api.github.com/users/susierao/following{/other_user}","gists_url":"https://api.github.com/users/susierao/gists{/gist_id}","starred_url":"https://api.github.com/users/susierao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susierao/subscriptions","organizations_url":"https://api.github.com/users/susierao/orgs","repos_url":"https://api.github.com/users/susierao/repos","events_url":"https://api.github.com/users/susierao/events{/privacy}","received_events_url":"https://api.github.com/users/susierao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-01T20:22:03Z","updated_at":"2017-05-01T20:22:03Z","closed_at":null,"body":"Dear doc2vec developers,\r\nI have been trying to use your code to build my own dbow model based on pre-trained word embeddings of google news corpus. The pre-trained word embeddings were successfully loaded in. \r\n\r\nThe following errors I encountered could not be solved: \r\n-------------------\r\n2017-05-01 21:53:33,486 : INFO : expecting 80380 sentences, matching count from corpus used for vocabulary survey\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 754, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/gensim/models/word2vec.py\", line 740, in worker_loop\r\n    tally, raw_tally = self._do_train_job(sentences, alpha, (work, neu1))\r\n  File \"/usr/local/lib/python2.7/dist-packages/gensim/models/doc2vec.py\", line 669, in _do_train_job\r\n    doctag_vectors=doctag_vectors, doctag_locks=doctag_locks)\r\n  File \"gensim/models/doc2vec_inner.pyx\", line 271, in gensim.models.doc2vec_inner.train_document_dbow \r\n  (./gensim/models/doc2vec_inner.c:3511)\r\n    word_vectors = model.syn0\r\nAttributeError: 'Doc2Vec' object has no attribute 'wv'\r\n-------------------\r\n\r\nCan you provide me with some hints where could possible go wrong?\r\n\r\nThanks a lot in advance. \r\n\r\nBest regards,\r\nSusie"}}
{"actor":{"display_login":"susierao"}}