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
When I train AgentDDPG, this error happen. In elegant_finrl/agent.py line 278 function select_action:
def select_action(self, state) -> np.ndarray: states = torch.as_tensor((state,), dtype=torch.float32, device=self.device).detach_() action = self.act(states)[0].cpu().numpy() return (action + self.ou_noise()).ratio_clip(-1, 1)
action + self.ou_noise() is a np.ndarray, it has no attribute named "ratio_clip".
action + self.ou_noise()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I train AgentDDPG, this error happen.
In elegant_finrl/agent.py line 278 function select_action:
action + self.ou_noise()
is a np.ndarray, it has no attribute named "ratio_clip".The text was updated successfully, but these errors were encountered: