Skip to content

gym gymnasium compatibility issue? #3

Description

@ImolaFodor

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions