Skip to content
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

Fix image list mismatch #1579

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Fix image list mismatch #1579

merged 2 commits into from
Jan 26, 2024

Conversation

pgmpablo157321
Copy link
Contributor

fix #1575

@pgmpablo157321 pgmpablo157321 requested a review from a team as a code owner January 25, 2024 05:47
Copy link

github-actions bot commented Jan 25, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@arjunsuresh
Copy link
Contributor

Thank you @pgmpablo157321 for the fix. Should we also add captions.txt to the expected files list in the submission checker?

@pgmpablo157321 pgmpablo157321 force-pushed the sd_fix branch 3 times, most recently from 5db0a3f to bec8218 Compare January 25, 2024 20:08
@@ -1785,6 +1785,8 @@ def check_extra_files(path, target_files):
if target_file not in files:
check_pass = False
missing_files.append(f"{os.path.join(path, dir, target_file)}.png")
if "captions" not in files:
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be "captions.txt" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am currently ignoring the file extensions and removing them from the filenames. So that you can send a .png or .jpg. So the files array would only contain .../captions

@mrmhodak mrmhodak merged commit 9b8006f into mlcommons:master Jan 26, 2024
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants