Skip to content

Conversation

@Gariscat
Copy link
Collaborator

@Gariscat Gariscat commented Nov 5, 2025

  1. [remove-projects-folder]
  2. [renamed 'EvalDatasetCfg' to 'EpisodeCfg']
  3. [refactor 'load_data' func & rename 'self.dataloader' to 'self.episode_iterator']

@Gariscat Gariscat requested a review from kew6688 November 5, 2025 03:54
@kew6688 kew6688 changed the title Fix dataset [Fix] refactor evaluation dataloader to episodeloader (WIP) Nov 5, 2025
@@ -1,5 +1,5 @@
#!/bin/bash

unset https_proxy http_proxy
Copy link
Collaborator

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,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back to EvalDatasetCfg

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't remove submodule

Copy link
Collaborator

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):
Copy link
Collaborator

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:
Copy link
Collaborator

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)
Copy link
Collaborator

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
Copy link
Collaborator

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()

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

Successfully merging this pull request may close these issues.

3 participants