Skip to content

Fix as number of images instead of eposide in rollouts#10

Open
Xciyang wants to merge 1 commit into
qiwang067:mainfrom
Xciyang:main
Open

Fix as number of images instead of eposide in rollouts#10
Xciyang wants to merge 1 commit into
qiwang067:mainfrom
Xciyang:main

Conversation

@Xciyang

@Xciyang Xciyang commented Mar 23, 2026

Copy link
Copy Markdown

The directory rollouts/minedojo_task/image_from_agent/timestamp is usually saved as episode_x/image/step.png, while os.listdir retrieves the folder under episode_x. The image_num is not the number of images but the episode.

By default, the rollout_image_num in config.yaml is set to 2000, which is consistent with the number of images used to train U-Net in the paper. Therefore, pathlib should be used instead of os.listdir to recursively retrieve images.

The directory rollouts/minedojo_task/image_from_agent/timestamp is usually saved as episode_x/image/step.png, while os.listdir retrieves the folder under episode_x. The  image_num is not the number of images but the episode. 

By default, the rollout_image_num in config.yaml is set to 2000, which is consistent with the number of images used to train UNET in the paper. Therefore, pathlib should be used instead of os.listdir to recursively retrieve images.
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.

1 participant