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

AttributeError: module 'glove.metrics' has no attribute 'read_analogy_file' #115

Open
DoDzilla-ai opened this issue Jun 7, 2021 · 0 comments

Comments

@DoDzilla-ai
Copy link

DoDzilla-ai commented Jun 7, 2021

I'm trying to run the analogy_tasksevaluation.py and I am receiving the following error:

Traceback (most recent call last):
  File "/home/sana/Desktop/proj/glove-python-master/examples/analogy_tasks_evaluation.py", line 44, in <module>
    metrics.read_analogy_file(args.test)]
AttributeError: module 'glove.metrics' has no attribute 'read_analogy_file'

I installed the glove_python with pip to Python 3.6

Similarly, construct_analogy_test_set and analogy_rank_score are also missing in the metrics.

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

1 participant