AttributeError: can't set attribute
I am trying to run the "examples/train_jsrl_curriculum.py", but there is error occured at the file "jsrl/jsrl.py" ` eval_callback = JSRLEvalCallback(
self.env,
callback_after_eval=JSRLAfterEvalCallback(
self.policy,
self.logger,
verbose=self.verbose,
),
eval_freq=self.policy.eval_freq,
n_eval_episodes=self.policy.n_eval_episodes,
verbose=self.verbose,
)and class JSRLAfterEvalCallback(BaseCallback):
def init(self, policy, logger, *args, **kwargs):
super().init(*args, **kwargs)
self.policy = policy
self.logger = logger
`
The error is "AttributeError: can't set attribute", it seems that the property "logger" can't be directly set.
I am trying to run the "examples/train_jsrl_curriculum.py", but there is error occured at the file "jsrl/jsrl.py" ` eval_callback = JSRLEvalCallback(
self.env, callback_after_eval=JSRLAfterEvalCallback( self.policy, self.logger, verbose=self.verbose, ), eval_freq=self.policy.eval_freq, n_eval_episodes=self.policy.n_eval_episodes, verbose=self.verbose, )
andclass JSRLAfterEvalCallback(BaseCallback): def init(self, policy, logger, *args, **kwargs): super().init(*args, **kwargs) self.policy = policy self.logger = logger ` The error is "AttributeError: can't set attribute", it seems that the property "logger" can't be directly set.
Hello, bro. I meet the same problem as you. Have you solved it?