File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,13 +137,13 @@ def sequence_example_iterator_fn(seq_ex: List[str]):
137
137
len (reward_stat_map ))
138
138
139
139
best_trajectory_repo = None
140
- best_trajecroty_repo_path = os .path .join (root_dir ,
140
+ best_trajectory_repo_path = os .path .join (root_dir ,
141
141
'best_trajectory_repo.json' )
142
142
if dump_best_trajectory :
143
143
best_trajectory_repo = best_trajectory .BestTrajectoryRepo (
144
144
action_name = action_spec .name )
145
- if tf .io .gfile .exists (best_trajecroty_repo_path ):
146
- best_trajectory_repo .load_from_json_file (best_trajecroty_repo_path )
145
+ if tf .io .gfile .exists (best_trajectory_repo_path ):
146
+ best_trajectory_repo .load_from_json_file (best_trajectory_repo_path )
147
147
148
148
with worker_manager_class (
149
149
worker_class = problem_config .get_runner_type (),
@@ -168,7 +168,7 @@ def sequence_example_iterator_fn(seq_ex: List[str]):
168
168
json .dump (reward_stat_map , f , cls = constant .DataClassJSONEncoder )
169
169
170
170
if best_trajectory_repo is not None :
171
- best_trajectory_repo .sink_to_json_file (best_trajecroty_repo_path )
171
+ best_trajectory_repo .sink_to_json_file (best_trajectory_repo_path )
172
172
173
173
policy_path = os .path .join (root_dir , 'policy' ,
174
174
str (llvm_trainer .global_step_numpy ()))
You can’t perform that action at this time.
0 commit comments