Skip to content

Issues with data_generator.py #24

@ioannagiorgi

Description

@ioannagiorgi

I keep getting KeyError: 0
self.state_idx = range(demos[0]['demoX'].shape[-1])
self._dU = demos[0]['demoU'].shape[-1]

and
states = np.vstack(demos[i]['demoX'] for i in self.train_idx) # hardcoded here to solve the memory issue
ValueError: need at least one array to concatenate

Thanks

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