DeepLabCut-live icon indicating copy to clipboard operation
DeepLabCut-live copied to clipboard

EntryNotFoundError when running dlc-live-test

Open andrewwong09 opened this issue 5 months ago • 0 comments

Hi,

I'm trying to install deeplabcut-live and benchmark my system. After running pip install deeplabcut-live, which seemed to run completely, I tried running dlc-live-test and got the below traceback error.

It seems like "DLC_ma_superquadruped_resnet_50_iteration-0_shuffle-1.tar.gz" is not available at the provided huggingface url; should it be under the Files and Version tab?

Thanks, Andrew

p.s. relevant background: https://github.com/andrewwong09/chicken_service

dlc-live-test 
2024-01-23 14:32:09.899017: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-01-23 14:32:10.027244: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-01-23 14:32:10.433939: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory
2024-01-23 14:32:10.434008: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory
2024-01-23 14:32:10.434016: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.

Creating temporary directory...

Downloading Video to /home/andrew/dlc-live-tmp/dog_clip.avi
Downloading full_dog model from the DeepLabCut Model Zoo...
Loading.... superanimal_quadruped
Traceback (most recent call last):
  File "/home/andrew/.local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 270, in hf_raise_for_status
    response.raise_for_status()
  File "/home/andrew/.local/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/mwmathis/DeepLabCutModelZoo-SuperAnimal-Quadruped/resolve/main/DLC_ma_superquadruped_resnet_50_iteration-0_shuffle-1.tar.gz

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/andrew/.local/bin/dlc-live-test", line 8, in <module>
    sys.exit(main())
  File "/home/andrew/src/analysis/andrew/dlc_live/DeepLabCut-live/dlclive/check_install/check_install.py", line 64, in main
    download_huggingface_model(MODEL_NAME, model_dir)
  File "/home/andrew/.local/lib/python3.10/site-packages/dlclibrary/dlcmodelzoo/modelzoo_download.py", line 76, in download_huggingface_model
    hf_hub_download(repo_id, targzfn, cache_dir=str(target_dir))
  File "/home/andrew/.local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "/home/andrew/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1247, in hf_hub_download
    metadata = get_hf_file_metadata(
  File "/home/andrew/.local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "/home/andrew/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1624, in get_hf_file_metadata
    r = _request_wrapper(
  File "/home/andrew/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 402, in _request_wrapper
    response = _request_wrapper(
  File "/home/andrew/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 426, in _request_wrapper
    hf_raise_for_status(response)
  File "/home/andrew/.local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 280, in hf_raise_for_status
    raise EntryNotFoundError(message, response) from e
huggingface_hub.utils._errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-65b03e6c-7f5a7a456f8a23ad6567fd78;c3971f6c-bbb2-4a12-8fe9-473484169987)

Entry Not Found for url: https://huggingface.co/mwmathis/DeepLabCutModelZoo-SuperAnimal-Quadruped/resolve/main/DLC_ma_superquadruped_resnet_50_iteration-0_shuffle-1.tar.gz.

andrewwong09 avatar Jan 23 '24 22:01 andrewwong09