"vscode:/vscode.git/clone" did not exist on "552cd32058660573c14ac481d88417e828c68756"
Commit f3a0939e authored by Zihao Fu's avatar Zihao Fu Committed by Facebook Github Bot
Browse files

Update bleu.py (#320)

Summary:
Modify Error message of bleu.
Fix the issue:  https://github.com/pytorch/fairseq/issues/284
Pull Request resolved: https://github.com/pytorch/fairseq/pull/320

Differential Revision: D12876721

Pulled By: myleott

fbshipit-source-id: df25885a94a584cbf4b86a1665e3e513c7eb8e9a
parent f41088a5
......@@ -13,7 +13,7 @@ try:
from fairseq import libbleu
except ImportError as e:
import sys
sys.stderr.write('ERROR: missing libbleu.so. run `python setup.py install`\n')
sys.stderr.write('ERROR: missing libbleu.so. run `python setup.py build develop`\n')
raise e
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment