-
Notifications
You must be signed in to change notification settings - Fork 37
[Fix] refactor evaluation dataloader to episodeloader (WIP) #149
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
base: dev
Are you sure you want to change the base?
Conversation
Gariscat
commented
Nov 5, 2025
- [remove-projects-folder]
- [renamed 'EvalDatasetCfg' to 'EpisodeCfg']
- [refactor 'load_data' func & rename 'self.dataloader' to 'self.episode_iterator']
| @@ -1,5 +1,5 @@ | |||
| #!/bin/bash | |||
|
|
|||
| unset https_proxy http_proxy | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this
| EnvCfg, | ||
| EvalCfg, | ||
| EvalDatasetCfg, | ||
| EpisodeCfg, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change back to EvalDatasetCfg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't remove submodule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't remove
|
|
||
|
|
||
| class EvalDatasetCfg(BaseModel): | ||
| class EpisodeCfg(BaseModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still should be DatasetCfg
| for path in path_list: | ||
| trajectory_id = path['trajectory_id'] | ||
| if revise_data: | ||
| if trajectory_id in skip_list: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This skip list is not for all dataset type. Move this part out from the base
| if revise_data: | ||
| if trajectory_id in skip_list: | ||
| continue | ||
| path = revise_one_data(path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this part out from the base too
| scenes.sort() | ||
| # Rotation: quaternion [w, x, y, z] → transformed as [-z, x, y, -w] (90° around Z) | ||
| r1, r2, r3, r4 = start_rotation # original: [w, x, y, z] ? | ||
| new_rot = [-r4, r1, r3, -r2] # adjust according to your transform_rotation_z_90degrees impl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to apply transform_rotation_z_90degrees()