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 vector environment, fix image transpose bug #303

Merged
merged 14 commits into from
Apr 20, 2019
Merged

Add vector environment, fix image transpose bug #303

merged 14 commits into from
Apr 20, 2019

Conversation

kengz
Copy link
Owner

@kengz kengz commented Apr 20, 2019

Add vector environment

  • add vec_env wrapper for parallel vector environment, adapted from OpenAI Baselines
  • add tests
  • WIP development

Fix image transpose bug

  • previously image was incorrectly transposed from OpenCV format WHC to CHW; fix to the proper PyTorch format CWH
  • unify, rename, clean up image preprocessing methods, add tests

Misc

  • remove unused guard_reward to prevent interference with vec_env

@kengz kengz merged commit 5baf175 into v4-dev Apr 20, 2019
@kengz kengz deleted the vec-env branch April 20, 2019 22:49
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.

1 participant