ImageNet 401 Error

#51
by George-Ogden - opened

I am getting this error from the page when trying to autoevaluate ImageNet:

HTTPError: 401 Client Error: Unauthorized for url: https://datasets-server.huggingface.co/is-valid?dataset=imagenet-1k
Traceback:
File "/home/user/.local/lib/python3.10/site-packages/streamlit/scriptrunner/script_runner.py", line 554, in _run_script
    exec(code, module.__dict__)
File "/home/user/app/app.py", line 169, in <module>
    is_valid_dataset = http_get(
File "/home/user/app/utils.py", line 61, in http_get
    response.raise_for_status()
File "/home/user/.local/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)

Other datasets are working

hi @George-Ogden , https://huggingface.co/datasets/imagenet-1k is gated, I think this app need an update to allow models that need auth_token

Is it still possible to evaluate using the evaluator?

Sign up or log in to comment