glove-python icon indicating copy to clipboard operation
glove-python copied to clipboard

metrics is not in top-level module namespace

Open nsaphra opened this issue 9 years ago • 2 comments

examples/analogy_tasks_evaluation.py only works if metrics is in the top level module namespace, as in from glove import Glove, metrics. At least in my most recent pip installed version, metrics is not in the module's exported namespace.

I'm running Python 2.7.6 on Ubuntu.

nsaphra avatar Mar 17 '16 14:03 nsaphra

Thanks for the report. Do you want to try a PR that would fix it?

maciejkula avatar Mar 17 '16 14:03 maciejkula

It's in PR #46 and I've tested it by pip installing from my forked repo.

nsaphra avatar Mar 17 '16 16:03 nsaphra