Youtube-Code-Repository
Youtube-Code-Repository copied to clipboard
Personal Question
First of all thanks for the useful videos! Second, I had a personal doubt and I am only posting here as I have been trying to fix it for the last couple of days. My apologies is this isn't acceptable.
I followed the DQN pytorch 2020 tutorial which has LunarLander as the environment. I tried running it for cartpole as well but I am getting an error. I'll post attach a picture of the same. It works for a few iterations then fails. I have changed the action space and the input dimensions for the same.
Thanking you.
@philtabor
PS: I tried to label it as a question but couldn't figure how.
action_memory isn't a float but an int32
self.action_memory = np.zeros(self.mem_size, dtype=np.int32)