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

HatefulMemesScenario get_instances returning error #3056

Open
dxwu2 opened this issue Oct 10, 2024 · 3 comments
Open

HatefulMemesScenario get_instances returning error #3056

dxwu2 opened this issue Oct 10, 2024 · 3 comments
Labels
bug Something isn't working HEIM (Text2Image) methodology Evaluation methodology user question

Comments

@dxwu2
Copy link

dxwu2 commented Oct 10, 2024

Calling get_instances for HatefulMemesScenario is getting me the following:
Exception: Failed with exit code 8: wget 'https://huggingface.co/datasets/neuralcatcher/hateful_memes/resolve/main/img/23058.png?download=true' -O output/benchmarks/downloaded/hatefulmemes/img/23058.png.tmp

Specifically, the traceback is:

  • line 66 in common/general.py, in shell: raise Exception(f"Failed with exit code {exit_code}: {cmd}")
  • line 94 in common/general.py, in ensure_file_downloaded: shell([downloader_executable, source_url, "-O", tmp_path])
@yifanmai
Copy link
Collaborator

Could you provide the complete error logs, including the exception message itself?

cc @teetone

@dxwu2
Copy link
Author

dxwu2 commented Oct 14, 2024

Screenshot 2024-10-14 at 11 11 15 AM

@yifanmai yifanmai added HEIM (Text2Image) methodology Evaluation methodology bug Something isn't working labels Oct 16, 2024
@yifanmai
Copy link
Collaborator

OK, I can replicate this locally. There is indeed a row for image 23058.png which is missing from this Hugging Face mirror.

@teetone How are you running this in production? Are you using the canonical version of the dataset instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HEIM (Text2Image) methodology Evaluation methodology user question
Projects
None yet
Development

No branches or pull requests

2 participants