-
Notifications
You must be signed in to change notification settings - Fork 2
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
ImportError: No module named loader #1
Comments
Thank you Amit for pointing out this bug. |
Great, thanks! Also, it now fails to import
|
It's fixed now. |
Thanks. This works! I am running the soft code overnight, as it seems to take seconds for some sentences, but many minutes for others, but I ran it on a sample and it worked. |
Yes. If the lattice is complex, it will take a long time to generate the pseudo-sentences. Actually you can do some optimization on it, e.g. cache the suffixes of each nodes instead of simple DFS. |
Thanks for this code.
First, the README is missing two dependencies:
matplotlib
andscipy
.When running the command from the README, I get an error:
I am assuming that that is because of
But I haven't found any indication in https://github.com/pytorch/examples/tree/master/word_language_model of a
loader
.Can you please add instructions on how to get
loader
? or maybe add it to this repo as well?The text was updated successfully, but these errors were encountered: