Skip to content
New issue

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

bug in tanhcnngaussianpolicy #139

Open
Yuichi-Nakababayashi opened this issue Aug 1, 2021 · 0 comments
Open

bug in tanhcnngaussianpolicy #139

Yuichi-Nakababayashi opened this issue Aug 1, 2021 · 0 comments

Comments

@Yuichi-Nakababayashi
Copy link

Yuichi-Nakababayashi commented Aug 1, 2021

TanhCNNGaussianPolicy class in gaussian_policy.py, following line may be incorrect.

self.last_fc_log_std = nn.Linear(last_hidden_size, action_dim)

as in case there're no hidden layers, last_hidden_size = self.input_width * self.input_width, wherase input dimension is not always the same as the dimension of CNN-output, which should be the same as the input dimension of the last layer.

Thought, I don't know a quick fix to that problem,,,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant