Skip to content

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

Description

@DoDzilla-ai

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions