-
Notifications
You must be signed in to change notification settings - Fork 227
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
[QUESTION] len(observation_shape) == 1 #397
Comments
@SebyR Hi, sorry for the late response. Can you share a full stack trace to see where you're getting the error from? |
I figured it out, instead of passing n frames I just passed 1 frame, the new observation space (in my env) being (3,64,64) or something like that instead of (n,3,64,64). I still want to be able to pass an image and other data at the same time but I am not sure how I could do this. I will mark this as close but I would really appreciate if you could tell me how to use an image with sensor data lets say at the same time. should I just make another layer like (4,64,64) and have it there? |
Hi, good to hear that you figured it out by yourself.
I couldn't follow this sentence, but this is the one you're looking for? d3rlpy supports tuple observations. |
I was wondering if I could use more complex observation spaces. I am trying to train a model for a humanoid robot and the observation is made out of an image and accelerometer data I didn't know how to structure the observation space for this. Thank you for the reply! |
Yeah, you should be able to use the tuple observations with d3rlpy. How to structure the observation space of specific tasks is not a scope of d3rlpy. Please ask the question at their repositories. |
Hello, I am a high school student and still new to this. I've encountered the next problem: I have made my custom env
also I did a piece of code that saves some demonstrations like so:
And finally I have the training code that looks like this:
I don't know how to solve the observation_shape problem because the output looks fine:
but i still get a big error ending in assert len(observation_shape) == 1
Please help me and thank you in advance!
The text was updated successfully, but these errors were encountered: