You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My goal is to save intermediate policies. The policy at the end of training works fine for me:
# ... main training codeself.make_inference_fn, self.params, _=self.train_fn(environment=env, progress_fn=self.progress_callback,
policy_params_fn=self.policy_params_callback)
self.visualize_trajectory()
However, when I call a self.visualize_trajectory() from self.policy_params_callback
My goal is to save intermediate policies. The policy at the end of training works fine for me:
However, when I call a
self.visualize_trajectory()
fromself.policy_params_callback
I run into the following error:
This is my visualization method which is adapted from the example training code:
Any idea why it is not working?
Edit: here is the whole script:
The text was updated successfully, but these errors were encountered: