Skip to content

Instantly share code, notes, and snippets.

@danyaljj
Created September 2, 2020 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danyaljj/314f959fe75b584e06802a93e5c00388 to your computer and use it in GitHub Desktop.
Save danyaljj/314f959fe75b584e06802a93e5c00388 to your computer and use it in GitHub Desktop.
2020-09-02T01:48:11.933435968Z 2020-09-02 01:48:11.933205: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-02T01:48:11.933493537Z 2020-09-02 01:48:11.933251: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-09-02T01:48:13.344958874Z 2020-09-02 01:48:13.000344: Computing metric rouge with config: {'metric': 'rouge'}
2020-09-02T01:48:14.505232551Z 2020-09-02 01:48:14.000504: Computing score from result: {'rouge1': AggregateScore(low=Score(precision=1.0, recall=1.0, fmeasure=1.0), mid=Score(precision=1.0, recall=1.0, fmeasure=1.0), high=Score(precision=1.0, recall=1.0, fmeasure=1.0)), 'rougeL': AggregateScore(low=Score(precision=1.0, recall=1.0, fmeasure=1.0), mid=Score(precision=1.0, recall=1.0, fmeasure=1.0), high=Score(precision=1.0, recall=1.0, fmeasure=1.0))}
2020-09-02T01:48:14.505265366Z 2020-09-02 01:48:14.000505: Adding score rouge = 1.0
2020-09-02T01:48:14.505304306Z 2020-09-02 01:48:14.000505: Computing metric sacrebleu with config: {'metric': 'sacrebleu'}
2020-09-02T01:48:15.140506977Z Traceback (most recent call last):
2020-09-02T01:48:15.14053479Z File "/app/evaluator.py", line 92, in <module>
2020-09-02T01:48:15.140540062Z main()
2020-09-02T01:48:15.140543602Z File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
2020-09-02T01:48:15.140547468Z return self.main(*args, **kwargs)
2020-09-02T01:48:15.140550837Z File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
2020-09-02T01:48:15.140554481Z rv = self.invoke(ctx)
2020-09-02T01:48:15.140557733Z File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
2020-09-02T01:48:15.140571022Z return ctx.invoke(self.callback, **ctx.params)
2020-09-02T01:48:15.140574518Z File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
2020-09-02T01:48:15.140577971Z return callback(*args, **kwargs)
2020-09-02T01:48:15.140581489Z File "/app/evaluator.py", line 73, in main
2020-09-02T01:48:15.140584827Z **metrics[m].get('compute_kwargs', {})
2020-09-02T01:48:15.140588222Z File "/usr/local/lib/python3.7/site-packages/nlp/metric.py", line 234, in compute
2020-09-02T01:48:15.140591777Z output = self._compute(predictions=predictions, references=references, **kwargs)
2020-09-02T01:48:15.14059536Z File "/usr/local/lib/python3.7/site-packages/nlp/metrics/sacrebleu/dc63a3c4267dc86427eb597e11740c963f14c0f8f40f1d7c401ebc4141e27597/sacrebleu.py", line 89, in _compute
2020-09-02T01:48:15.140599233Z raise ValueError('Sacrebleu requires the same number of references for each prediction')
2020-09-02T01:48:15.14060279Z ValueError: Sacrebleu requires the same number of references for each prediction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment