提交 ff1250fd 编写于 作者: Y yinhaofeng

add some notes

上级 8a317fa2
...@@ -79,7 +79,7 @@ class Reader(dg.MultiSlotDataGenerator): ...@@ -79,7 +79,7 @@ class Reader(dg.MultiSlotDataGenerator):
v = i[1] v = i[1]
for j in v: for j in v:
s += " " + k + ":" + str(j) s += " " + k + ":" + str(j)
print(s.strip()) print(s.strip()) # add print for data preprocessing
return data_iter return data_iter
......
...@@ -151,7 +151,7 @@ class Reader(dg.MultiSlotDataGenerator): ...@@ -151,7 +151,7 @@ class Reader(dg.MultiSlotDataGenerator):
v = i[1] v = i[1]
for j in v: for j in v:
s += " " + k + ":" + str(j) s += " " + k + ":" + str(j)
print(s.strip()) print(s.strip()) # add print for data preprocessing
return data_iter return data_iter
reader = Reader( reader = Reader(
"../config.yaml") # run this file in original folder to find config.yaml "../config.yaml") # run this file in original folder to find config.yaml
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册