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

Refactor critic networks using the new encoding network #993

Merged
merged 2 commits into from
Aug 30, 2021

Conversation

emailweixu
Copy link
Contributor

@emailweixu emailweixu commented Aug 30, 2021

Also fixed EncodingNetwork.make_parallel(), where the copy() is not correctly implemented.

Also fixed a copy of EncodingNetwork.make_parallel(), where the copy is not correctly implemented.
@@ -49,7 +50,7 @@ def _init(self, lstm_hidden_size):
return network_ctor, state

@parameterized.parameters((100, ), (None, ), ((200, 100), ))
def test_critic(self, lstm_hidden_size):
def test_critic(self, lstm_hidden_size=(200, 100)):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can remove =(200, 100)

@emailweixu emailweixu merged commit 4bf1457 into pytorch Aug 30, 2021
@emailweixu emailweixu linked an issue Aug 30, 2021 that may be closed by this pull request
@hnyu hnyu deleted the PR_critic_networks branch September 6, 2021 15:32
pd-perry pushed a commit to pd-perry/alf that referenced this pull request Dec 11, 2021
…ics#993)

* Refactor critic networks using the new encoding network

Also fixed a copy of EncodingNetwork.make_parallel(), where the copy is not correctly implemented.

* Address comment
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

Successfully merging this pull request may close these issues.

Implementing various networks using containers
2 participants