PyTorch-DDPG-Stock-Trading icon indicating copy to clipboard operation
PyTorch-DDPG-Stock-Trading copied to clipboard

a question in DDPG.act

Open lbgitjp opened this issue 2 years ago • 0 comments

below code: https://github.com/JoshuaWu1997/PyTorch-DDPG-Stock-Trading/blob/0c5c2f9095f5871d26b573fd960fb772f4ea050b/DDPG.py#L120

Shouldn't above line of code be modified to below? allocation = self.actor_network.actor_action(next_state_data).data.view(-1)

thanks!

lbgitjp avatar Oct 25 '22 04:10 lbgitjp