Skip to content

Conversation

@justinvyu
Copy link
Contributor

Summary

The Jpeg dataset validation directory doesn't have a directory structure with the class names, which is an assumption of the read_images code right now. Switches to using a subset of the training dataset instead and adds a TODO to fix the validation dataset loading.

Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Copilot AI review requested due to automatic review settings June 19, 2025 22:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR works around a missing class-partitioned validation directory by using the training directory as a temporary fallback and flags the need for a proper fix.

  • Switched val_dir assignment to reuse the training directory
  • Added a TODO comment to revisit loading logic for the validation dataset

@justinvyu justinvyu enabled auto-merge (squash) June 23, 2025 18:45
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Jun 23, 2025
@justinvyu justinvyu merged commit 57d0c50 into ray-project:master Jun 23, 2025
6 checks passed
@justinvyu justinvyu deleted the fix_valid_ds branch June 24, 2025 00:41
minerharry pushed a commit to minerharry/ray that referenced this pull request Jun 27, 2025
The Jpeg dataset validation directory doesn't have a directory structure
with the class names, which is an assumption of the `read_images` code
right now. Switches to using a subset of the training dataset instead
and adds a TODO to fix the validation dataset loading.

Signed-off-by: Justin Yu <justinvyu@anyscale.com>
elliot-barn pushed a commit that referenced this pull request Jul 2, 2025
The Jpeg dataset validation directory doesn't have a directory structure
with the class names, which is an assumption of the `read_images` code
right now. Switches to using a subset of the training dataset instead
and adds a TODO to fix the validation dataset loading.

Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants