8 lines
973 B
Plaintext
8 lines
973 B
Plaintext
[2025-10-11 22:11:28,537][__main__][INFO] - Training for 50000 timesteps with NormalQNetwork and NormalReplayBuffer
|
|
[2025-10-11 22:11:28,830][py.warnings][WARNING] - d:\Documents\Nextcloud\Documents\Project WUSTL\Academic\2025_Fall\CSE5100\Homeworks\hw2\hw2\agent.py:56: 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).
|
|
reward_tensor = torch.tensor(reward).to(self.device)
|
|
|
|
[2025-10-11 22:11:28,830][py.warnings][WARNING] - d:\Documents\Nextcloud\Documents\Project WUSTL\Academic\2025_Fall\CSE5100\Homeworks\hw2\hw2\agent.py:57: 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).
|
|
max_tensor = torch.max(self.target_net(torch.tensor(next_state).to(self.device)).cpu(), dim=1)
|
|
|