magenta / magenta/mt3

Error when I run Imports and Definitions

Open
#65 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.8k
Forks
224
Avg merge
54m
Merged PRs (30d)
1

Description

When I run Imports and Definitions I get the following error: ModuleNotFoundError Traceback (most recent call last)
in ()
13 import note_seq
14 import seqio
---> 15 import t5
16 import t5x
17

4 frames
/usr/local/lib/python3.7/dist-packages/t5/evaluation/metrics.py in ()
35 from t5.evaluation import qa_utils
36
---> 37 from rouge_score import rouge_scorer
38 from rouge_score import scoring
39

ModuleNotFoundError: No module named 'rouge_score'
I pip rouge_score as requested. But it still goes wrong.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Imports and Definitions steps in the reported Python 3.7 environment and inspect the traceback at the import t5 line. Check whether rouge_score is importable in that same environment after installation; done means the import sequence completes without ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.