{"action":"created","issue":{"url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/2504","repository_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j","labels_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/2504/labels{/name}","comments_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/2504/comments","events_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/2504/events","html_url":"https://github.com/deeplearning4j/deeplearning4j/issues/2504","id":195536586,"number":2504,"title":"NullPointerException when training ParagraphVectors","user":{"login":"ErikTromp","id":8345408,"avatar_url":"https://avatars.githubusercontent.com/u/8345408?v=3","gravatar_id":"","url":"https://api.github.com/users/ErikTromp","html_url":"https://github.com/ErikTromp","followers_url":"https://api.github.com/users/ErikTromp/followers","following_url":"https://api.github.com/users/ErikTromp/following{/other_user}","gists_url":"https://api.github.com/users/ErikTromp/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikTromp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikTromp/subscriptions","organizations_url":"https://api.github.com/users/ErikTromp/orgs","repos_url":"https://api.github.com/users/ErikTromp/repos","events_url":"https://api.github.com/users/ErikTromp/events{/privacy}","received_events_url":"https://api.github.com/users/ErikTromp/received_events","type":"User","site_admin":false},"labels":[{"id":67900999,"url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":67901001,"url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/labels/enhancement","name":"enhancement","color":"000080","default":true}],"state":"open","locked":false,"assignee":{"login":"raver119","id":12250879,"avatar_url":"https://avatars.githubusercontent.com/u/12250879?v=3","gravatar_id":"","url":"https://api.github.com/users/raver119","html_url":"https://github.com/raver119","followers_url":"https://api.github.com/users/raver119/followers","following_url":"https://api.github.com/users/raver119/following{/other_user}","gists_url":"https://api.github.com/users/raver119/gists{/gist_id}","starred_url":"https://api.github.com/users/raver119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raver119/subscriptions","organizations_url":"https://api.github.com/users/raver119/orgs","repos_url":"https://api.github.com/users/raver119/repos","events_url":"https://api.github.com/users/raver119/events{/privacy}","received_events_url":"https://api.github.com/users/raver119/received_events","type":"User","site_admin":false},"assignees":[{"login":"raver119","id":12250879,"avatar_url":"https://avatars.githubusercontent.com/u/12250879?v=3","gravatar_id":"","url":"https://api.github.com/users/raver119","html_url":"https://github.com/raver119","followers_url":"https://api.github.com/users/raver119/followers","following_url":"https://api.github.com/users/raver119/following{/other_user}","gists_url":"https://api.github.com/users/raver119/gists{/gist_id}","starred_url":"https://api.github.com/users/raver119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raver119/subscriptions","organizations_url":"https://api.github.com/users/raver119/orgs","repos_url":"https://api.github.com/users/raver119/repos","events_url":"https://api.github.com/users/raver119/events{/privacy}","received_events_url":"https://api.github.com/users/raver119/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-12-14T13:55:00Z","updated_at":"2016-12-15T10:24:07Z","closed_at":null,"body":"I am getting a NullPointerException when calling `fit` on ParagraphVectors (running on GPU, using 0.7.1):\r\n\r\n```\r\njava.lang.NullPointerException: null\r\nat org.deeplearning4j.models.embeddings.inmemory.InMemoryLookupTable.consume(InMemoryLookupTable.java:689) ~[deeplearning4j-nlp-0.7.1.jar:na]\r\nat org.deeplearning4j.models.sequencevectors.SequenceVectors.buildVocab(SequenceVectors.java:103) ~[deeplearning4j-nlp-0.7.1.jar:na]\r\nat org.deeplearning4j.models.sequencevectors.SequenceVectors.fit(SequenceVectors.java:178) ~[deeplearning4j-nlp-0.7.1.jar:na]\r\nat org.deeplearning4j.models.paragraphvectors.ParagraphVectors.fit(ParagraphVectors.java:448) ~[deeplearning4j-nlp-0.7.1.jar:na]\r\nat tuktu.deeplearn.models.Doc2Vec.train(Doc2Vec.scala:141) ~[classes/:na]\r\n```\r\n\r\nThe code I am using can be found here (excerpt): https://gist.github.com/ErikTromp/87c6ffc11dbecf79174b74b2ea538743\r\nRunning on a small dataset works fine (same code), but running it on a larger one (larger word embedding file too) results in this error.\r\n\r\nParameters:\r\n```\r\n\"min_word_frequency\": 5,\r\n\"iterations\": 5,\r\n\"epochs\": 5,\r\n\"layer_size\": 50,\r\n\"learning_rate\": 0.025,\r\n\"window_size\": 5,\r\n\"sampling\": 0,\r\n\"batch_size\": 4000,\r\n\"word2vec_model\": \"vectors.bin\"\r\n```"},"comment":{"url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/comments/267293023","html_url":"https://github.com/deeplearning4j/deeplearning4j/issues/2504#issuecomment-267293023","issue_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/2504","id":267293023,"user":{"login":"ErikTromp","id":8345408,"avatar_url":"https://avatars.githubusercontent.com/u/8345408?v=3","gravatar_id":"","url":"https://api.github.com/users/ErikTromp","html_url":"https://github.com/ErikTromp","followers_url":"https://api.github.com/users/ErikTromp/followers","following_url":"https://api.github.com/users/ErikTromp/following{/other_user}","gists_url":"https://api.github.com/users/ErikTromp/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikTromp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikTromp/subscriptions","organizations_url":"https://api.github.com/users/ErikTromp/orgs","repos_url":"https://api.github.com/users/ErikTromp/repos","events_url":"https://api.github.com/users/ErikTromp/events{/privacy}","received_events_url":"https://api.github.com/users/ErikTromp/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T10:24:07Z","updated_at":"2016-12-15T10:24:07Z","body":"OK, looking forward - I'll continue on a different path for now then. Will monitor this issue."}}
{"actor":{"display_login":"ErikTromp"}}