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

[Bug Report] total_steps property for pen-human dataset #106

Closed
1 task done
Howuhh opened this issue Jul 4, 2023 · 1 comment
Closed
1 task done

[Bug Report] total_steps property for pen-human dataset #106

Howuhh opened this issue Jul 4, 2023 · 1 comment

Comments

@Howuhh
Copy link
Contributor

Howuhh commented Jul 4, 2023

Describe the bug
Total steps for "pen-human-v0" dataset is none or doesn't exist. Seems like this is true for all adroit datasets.

Code example

import minari

minari.download_dataset("pen-human-v0")
dataset = minari.load_dataset("pen-human-v0")
print(dataset.total_steps)

Additional context
However, this will work

print(dataset.spec.total_steps)

Why doesn't the code just take it out of spec? Why does it either None or re-read from self._data?

Checklist

  • I have checked that there is no similar issue in the repo (required)
@younik
Copy link
Member

younik commented Jul 7, 2023

Solved with #101

@younik younik closed this as completed Jul 7, 2023
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

2 participants