Content-Length: 247607 | pFad | http://github.com/sail-sg/envpool/pull/232/commits/dbd121225cb985ff35420b5b34454bf7063e3064

9F Add `channel_first` option in procgen by Trinkle23897 · Pull Request #232 · sail-sg/envpool · GitHub
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

Add channel_first option in procgen #232

Merged
merged 3 commits into from
Jan 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix test
  • Loading branch information
Trinkle23897 committed Jan 8, 2023
commit dbd121225cb985ff35420b5b34454bf7063e3064
2 changes: 1 addition & 1 deletion envpool/procgen/procgen_env_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ TEST(PRocgenEnvTest, BasicStep) {
auto state_vec = envpool.Recv();
ProcgenState state(&state_vec);
EXPECT_EQ(state["obs"_].Shape(),
std::vector<std::size_t>({batch, 64, 64, 3}));
std::vector<std::size_t>({batch, 3, 64, 64}));
uint8_t* data = static_cast<uint8_t*>(state["obs"_].Data());
int index = 0;
for (std::size_t j = 0; j < batch; ++j) {
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/sail-sg/envpool/pull/232/commits/dbd121225cb985ff35420b5b34454bf7063e3064

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy