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
In the Listing 3.7, we use both memory replay and target network to improve the stablility.
However, in the memory loop:
if len(replay) > batch_size: minibatch = random.sample(replay, batch_size) ... action_batch = torch.Tensor([a for (s1,a,r,s2,d) in minibatch])
The compiler tells me this error:
---> 42 action_batch = torch.Tensor([a for (s1,a,r,s2,d) in minibatch]) too many dimensions 'str'
I suppose that when we memory, the action is represented by a characteristic. There, nevertheless, corresponding number are needed.
So I propose to make a reverse action set to fill this transform.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the Listing 3.7, we use both memory replay and target network to improve the stablility.
However, in the memory loop:
The compiler tells me this error:
I suppose that when we memory, the action is represented by a characteristic. There, nevertheless, corresponding number are needed.
So I propose to make a reverse action set to fill this transform.
The text was updated successfully, but these errors were encountered: