We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are policy.actor and policy.critic in base_runner.py, but I couldn't find them in the algorithms folder of MPE. How can I solve this problem?
def restore(self): for agent_id in range(self.num_agents): policy_actor_state_dict = torch.load(str(self.model_dir) + '/actor_agent' + str(agent_id) + '.pt') self.policy[agent_id].get_actions.load_state_dict(policy_actor_state_dict) policy_critic_state_dict = torch.load(str(self.model_dir) + '/critic_agent' + str(agent_id) + '.pt') self.policy[agent_id].get_values.load_state_dict(policy_critic_state_dict) if self.trainer[agent_id]._use_valuenorm: policy_vnrom_state_dict = torch.load(str(self.model_dir) + '/vnrom_agent' + str(agent_id) + '.pt') self.trainer[agent_id].value_normalizer.load_state_dict(policy_vnrom_state_dict)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There are policy.actor and policy.critic in base_runner.py, but I couldn't find them in the algorithms folder of MPE. How can I solve this problem?
The text was updated successfully, but these errors were encountered: