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

gym gymnasium compatibility issue? #3

Open
ImolaFodor opened this issue Nov 5, 2022 · 0 comments
Open

gym gymnasium compatibility issue? #3

ImolaFodor opened this issue Nov 5, 2022 · 0 comments

Comments

@ImolaFodor
Copy link

hi daniel, i am working on irl, and wanted to just use your saved model to generate expert trajectories, but seems you have saved a model that is just trained on 100 episodes.. i thought to mitigate this by training again your model, but i get a problem about
---> 16 self.state_buffer[idx] = state
17 self.action_buffer[idx] = action
18 self.reward_buffer[idx] = reward

ValueError: setting an array element with a sequence. The requested array would exceed the maximum number of dimension of 1.

i am running the example in colab with gymnasium (hence maybe the samples are of different type), locally through the requirements file i had errors..

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

No branches or pull requests

1 participant