Skip to content

Commit f72fb63

Browse files
authored
Merge pull request #371 from MrChengmo/fix_w2v_speed
fix w2v speed count
2 parents 73f08c1 + abe32f2 commit f72fb63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/static_ps_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def init_reader(self):
144144
self.reader, self.file_list = get_reader(self.input_data, config)
145145
self.example_nums = 0
146146
self.count_method = self.config.get(
147-
"static_benchmark.example_count_method", "example")
147+
"runner.example_count_method", "example")
148148
if self.count_method == "example":
149149
self.example_nums = get_example_num(self.file_list)
150150
elif self.count_method == "word":

0 commit comments

Comments
 (0)