-
Notifications
You must be signed in to change notification settings - Fork 33
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
Handle for 2D/3D observations that are images #237
Comments
From @jmribeiro in #229: Hi @belerico Here it goes:
The observations are custom made for an environment called "Level-Based Foraging" An agent has a fov-window of size 5x5 centered around himself.
I believe the only issues in the code I could find are handcoded properties such as assuming all are RGB arrays (and dividing sometimes by 255) and fixed padding/strides on some classes. Right now I'm learning this environment with a DQN as following (an extra channel due to an extra teammate on the environment).
This should not happen, at least in my use case.
Conv2D are enough. |
Hi! |
Hi @jmribeiro, sorry but we have focused our self-attention into fixing bugs and improving the overall usability of both the Dreamer-V3 agent and the library itself. We will have a look at your issue asap. |
Hi @jmribeiro, one solution that I thought is the following:
Tell me if I'm missing something. |
@belerico, that seems perfect. |
Hi, If you want to check there, for now I created the field I will start working on this issue in a more organized way soon. |
I was also about to open an issue regarding Dreamer on feature-vector based (partially observable) environments where no Cnn is needed (and as a matter of fact, to also handle gridworlds where the observation space is also with matrices, except non-RGB, for example with 1's where the agents are and 0's otherwise).
What would be necessary to adapt from the code? I would be willing to help you guys!
Originally posted by @jmribeiro in #229 (comment)
The text was updated successfully, but these errors were encountered: