examples/seq2seq/__init__.py mutates sys.path (#7194)

This commit is contained in:
Stas Bekman
2020-09-20 13:54:42 -07:00
committed by GitHub
parent a4faeceaed
commit 7cbf0f722d
8 changed files with 58 additions and 113 deletions

View File

@@ -4,11 +4,7 @@ import operator
import sys
from collections import OrderedDict
try:
from .run_eval import datetime_now, run_generate
except ImportError:
from run_eval import datetime_now, run_generate
from run_eval import datetime_now, run_generate
# A table of supported tasks and the list of scores in the order of importance to be sorted by.