print goal type correctly

This commit is contained in:
Bart Moyaers
2020-02-13 14:36:59 +01:00
parent 795ce9b71c
commit 92231d9c3c

View File

@@ -556,7 +556,7 @@ class RLAgent(ABC):
self.logger.log_tabular("Test_Return", self.avg_test_return) self.logger.log_tabular("Test_Return", self.avg_test_return)
self.logger.log_tabular("State_Mean", s_mean) self.logger.log_tabular("State_Mean", s_mean)
self.logger.log_tabular("State_Std", s_std) self.logger.log_tabular("State_Std", s_std)
self.logger.log_tabular("Goal_Type", self.world.env.goal.goal_type) self.logger.log_tabular("Goal_Type", self.world.env.goal.__class__.__name__)
self.logger.log_tabular("Goal_Mean", g_mean) self.logger.log_tabular("Goal_Mean", g_mean)
self.logger.log_tabular("Goal_Std", g_std) self.logger.log_tabular("Goal_Std", g_std)
self._log_exp_params() self._log_exp_params()