5 lines
700 B
Plaintext
5 lines
700 B
Plaintext
[2025-10-11 22:07:51,021][__main__][INFO] - Training for 50000 timesteps with NormalQNetwork and NormalReplayBuffer
|
|
[2025-10-11 22:07:51,346][py.warnings][WARNING] - d:\Documents\Nextcloud\Documents\Project WUSTL\Academic\2025_Fall\CSE5100\Homeworks\hw2\hw2\agent.py:55: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.detach().clone() or sourceTensor.detach().clone().requires_grad_(True), rather than torch.tensor(sourceTensor).
|
|
tensor_arr=np.where(done, torch.tensor(reward).to(self.device), torch.tensor(reward).to(self.device) + torch.max(self.target_net(torch.tensor(next_state).to(self.device)).cpu(), dim=1) * torch.tensor(self.gamma).to(self.device))
|
|
|