{"action":"created","issue":{"url":"https://api.github.com/repos/aditya-grover/node2vec/issues/42","repository_url":"https://api.github.com/repos/aditya-grover/node2vec","labels_url":"https://api.github.com/repos/aditya-grover/node2vec/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/aditya-grover/node2vec/issues/42/comments","events_url":"https://api.github.com/repos/aditya-grover/node2vec/issues/42/events","html_url":"https://github.com/aditya-grover/node2vec/issues/42","id":330135803,"node_id":"MDU6SXNzdWUzMzAxMzU4MDM=","number":42,"title":"RuntimeError:you must first build vocabulary before training the model","user":{"login":"iFe1er","id":15727394,"node_id":"MDQ6VXNlcjE1NzI3Mzk0","avatar_url":"https://avatars2.githubusercontent.com/u/15727394?v=4","gravatar_id":"","url":"https://api.github.com/users/iFe1er","html_url":"https://github.com/iFe1er","followers_url":"https://api.github.com/users/iFe1er/followers","following_url":"https://api.github.com/users/iFe1er/following{/other_user}","gists_url":"https://api.github.com/users/iFe1er/gists{/gist_id}","starred_url":"https://api.github.com/users/iFe1er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iFe1er/subscriptions","organizations_url":"https://api.github.com/users/iFe1er/orgs","repos_url":"https://api.github.com/users/iFe1er/repos","events_url":"https://api.github.com/users/iFe1er/events{/privacy}","received_events_url":"https://api.github.com/users/iFe1er/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-07T06:37:34Z","updated_at":"2018-08-08T07:45:22Z","closed_at":null,"author_association":"NONE","body":"Message:\r\n\r\nWalk iteration:\r\n1 / 10\r\n2 / 10\r\n3 / 10\r\n4 / 10\r\n5 / 10\r\n6 / 10\r\n7 / 10\r\n8 / 10\r\n9 / 10\r\n10 / 10\r\nTraceback (most recent call last):\r\n  File \"src/main.py\", line 104, in <module>\r\n    main(args)\r\n  File \"src/main.py\", line 100, in main\r\n    learn_embeddings(walks)\r\n  File \"src/main.py\", line 87, in learn_embeddings\r\n    model = Word2Vec(walks, size=args.dimensions, window=args.window_size, min_count=0, sg=1, workers=args.workers, iter=args.iter)\r\n  File \"C:\\Anaconda2\\lib\\site-packages\\gensim\\models\\word2vec.py\", line 473, in __init__\r\n    self.train(sentences)\r\n  File \"C:\\Anaconda2\\lib\\site-packages\\gensim\\models\\word2vec.py\", line 777, in train\r\n    raise RuntimeError(\"you must first build vocabulary before training the model\")\r\nRuntimeError: you must first build vocabulary before training the model\r\n\r\n\r\nGoogle said it is a problem with Word2Vec where min_count is to large. However, here the problem still occur although min_count=0\r\n\r\n\r\n------\r\nProblem found: \r\nbecause  walks = []"},"comment":{"url":"https://api.github.com/repos/aditya-grover/node2vec/issues/comments/411317635","html_url":"https://github.com/aditya-grover/node2vec/issues/42#issuecomment-411317635","issue_url":"https://api.github.com/repos/aditya-grover/node2vec/issues/42","id":411317635,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTMxNzYzNQ==","user":{"login":"iFe1er","id":15727394,"node_id":"MDQ6VXNlcjE1NzI3Mzk0","avatar_url":"https://avatars2.githubusercontent.com/u/15727394?v=4","gravatar_id":"","url":"https://api.github.com/users/iFe1er","html_url":"https://github.com/iFe1er","followers_url":"https://api.github.com/users/iFe1er/followers","following_url":"https://api.github.com/users/iFe1er/following{/other_user}","gists_url":"https://api.github.com/users/iFe1er/gists{/gist_id}","starred_url":"https://api.github.com/users/iFe1er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iFe1er/subscriptions","organizations_url":"https://api.github.com/users/iFe1er/orgs","repos_url":"https://api.github.com/users/iFe1er/repos","events_url":"https://api.github.com/users/iFe1er/events{/privacy}","received_events_url":"https://api.github.com/users/iFe1er/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T07:45:22Z","updated_at":"2018-08-08T07:45:22Z","author_association":"NONE","body":"@dopha-mipa  Yes that is right. I checked my input file format, and the problem occur since the default seperator setting in pandas is different from this file.\r\n\r\nThank you thought i solve the problem months ago. :)"}}
{"actor":{"display_login":"iFe1er"}}