And I also changed insert part of main.py like this..
# insert the step taken into memory
memory.insert(step, torch.from_numpy(np.transpose(spatial_obs,(0,2,3,1))).float(), torch.from_numpy(non_spatial_obs).float(), torch.tensor(actions_policy), torch.tensor(values), reward, masks, available_actions)
So, I think that some part of the code should be modified so that the user who is the first to receive the repo can run it right away.
I display version information to avoid confusion.
OS : Windows 10
Conda version : 4.3.30
Python : 3.6
Pytorch : 1.1.0
When I run it on two different computers, I need to make the above changes on one computer but this repo run it on the other computer without modification. It is very strange, but I will close this issue.
Hello again. I first tried main.py but got this error.
Probably the number of channels should be 28, so I used
np.transpose
.But then I got this error.
The problematic part seems to be the part that gives the tensor to the critic. So I changed 4633 to 13337.
And I also changed insert part of main.py like this..
So, I think that some part of the code should be modified so that the user who is the first to receive the repo can run it right away.
I display version information to avoid confusion. OS : Windows 10 Conda version : 4.3.30 Python : 3.6 Pytorch : 1.1.0