Datasets:
Possible missing task info in AgiBotWorld-Alpha
#24
by
229nagibator229
- opened
Thank you for releasing this dataset—it’s an awesome job!
I ran a quick analysis and observed that the released dataset contains 18,081 episodes. However, it seems that task information is missing for 869 episodes. Below is the code I used to reproduce these results:
import json
from pathlib import Path
# Set the root folder of the AGIBOT_ALPHA dataset
agibot_root_folder = Path('/PATH_TO_AGIBOT_ALPHA')
episodes_info = {}
json_files = list((agibot_root_folder / "task_info").glob('*.json'))
for file in json_files:
with open(file, 'r') as f:
task_info = json.load(f)
for episode_info in task_info:
episodes_info[episode_info['episode_id']] = episode_info
obs_folder = agibot_root_folder / 'observations'
existing_episode_ids = {int(p.name) for p in obs_folder.glob('*/*') if p.is_dir()}
print(f"Total number of episodes in task info: {len(episodes_info)}")
print(f"Total number of episodes in observations: {len(existing_episode_ids)}")
existing_episodes_with_info = existing_episode_ids.intersection(episodes_info.keys())
print(f"Total number of episodes in observations with info: {len(existing_episodes_with_info)}")
print(f"Total number of episodes in observations without info: {len(existing_episode_ids - existing_episodes_with_info)}")
Example Output:
Total number of episodes in task info: 35115
Total number of episodes in observations: 18081
Total number of episodes in observations with info: 17212
Total number of episodes in observations without info: 869
Thank you for your attention to our work!
Yes, your observation is correct, and I sincerely apologize for the issue. This was caused by the data and the info JSON being handled separately, which led to alignment discrepancies. We have now re-uploaded a new version of the alpha dataset, which should resolve the problem.
If you have any further questions, please feel free to reach out anytime!