PyTorch-DDPG-Stock-Trading
PyTorch-DDPG-Stock-Trading copied to clipboard
a question in DDPG.act
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!