forked from mindspore-Ecosystem/mindspore
fix bugs
This commit is contained in:
parent
b917ceca36
commit
e72660b519
|
@ -177,6 +177,8 @@ def load_eval_data(data_dir):
|
|||
if not os.path.isfile(data_path):
|
||||
continue
|
||||
with open(data_path, 'r') as f:
|
||||
k = "capital-common-countries"
|
||||
samples[k] = list()
|
||||
for line in f:
|
||||
if ':' in line:
|
||||
strs = line.strip().split(' ')
|
||||
|
|
Loading…
Reference in New Issue