Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error for new dataset: RuntimeError: you must first build vocabulary before training the model #13

Closed
BehroozMansouri opened this issue Sep 3, 2019 · 3 comments

Comments

@BehroozMansouri
Copy link

When changing the dataset to new one with the format of the test dataset, I get the following error:
RuntimeError: you must first build vocabulary before training the model.

Where should I specify the vocabulary and where should it be located?

@benedekrozemberczki
Copy link
Owner

Can you show me samples of your data?

@ZiruiYan
Copy link

This is most likely because the amount of data is too small and all features are deleted.

@bistuwyylearning
Copy link

直接在src目录下执行python graph2vec.py就会导致整个错误
正确的做法是在graph2vec主目录直接执行python src/graph2vec.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants