We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last) 36 state = np.float32(observation) 37 ---> 38 action = trainer.get_exploration_action(state) 39 # if _ep%5 == 0: 40 # # validate every 5th episode
.../train.py in get_exploration_action(self, state) 62 """ 63 state = Variable(torch.from_numpy(state)) ---> 64 action = self.actor.forward(state).detach() 65 new_action = action.data.numpy() + (self.noise.sample() * self.action_lim) 66 return new_action
.../model.py in forward(self, state) 97 action = torch.tanh(self.fc4(x)) 98 ---> 99 action = action * self.action_lim 100 101 return action
TypeError: mul() received an invalid combination of arguments - got (numpy.int64), but expected one of:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Traceback (most recent call last)
36 state = np.float32(observation)
37
---> 38 action = trainer.get_exploration_action(state)
39 # if _ep%5 == 0:
40 # # validate every 5th episode
.../train.py in get_exploration_action(self, state)
62 """
63 state = Variable(torch.from_numpy(state))
---> 64 action = self.actor.forward(state).detach()
65 new_action = action.data.numpy() + (self.noise.sample() * self.action_lim)
66 return new_action
.../model.py in forward(self, state)
97 action = torch.tanh(self.fc4(x))
98
---> 99 action = action * self.action_lim
100
101 return action
TypeError: mul() received an invalid combination of arguments - got (numpy.int64), but expected one of:
didn't match because some of the arguments have invalid types: (numpy.int64)
didn't match because some of the arguments have invalid types: (numpy.int64)
The text was updated successfully, but these errors were encountered: