File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -415,11 +415,6 @@ def run(self):
415415 try :
416416 logger .info (f"Running experiment { self .exp_name } in:\n { self .exp_dir } " )
417417 agent = self .agent_args .make_agent ()
418-
419- # Set training data directory for agents that support it
420- if hasattr (agent , "set_training_data_dir" ):
421- agent .set_training_data_dir (Path (self .exp_dir ))
422-
423418 if hasattr (agent , "set_task_name" ):
424419 agent .set_task_name (self .env_args .task_name )
425420
@@ -441,11 +436,6 @@ def run(self):
441436
442437 while not step_info .is_done : # set a limit
443438 logger .debug (f"Starting step { step_info .step } ." )
444-
445- # Set current step for training data capture
446- if hasattr (agent , "set_current_step" ):
447- agent .set_current_step (step_info .step )
448-
449439 action = step_info .from_action (agent )
450440 logger .debug (f"Agent chose action:\n { action } " )
451441
You can’t perform that action at this time.
0 commit comments