Transformers
TensorBoard
Safetensors
English
dinov2
multilabel-image-classification
multilabel
Generated from Trainer
Instructions to use lombardata/DinoVdeau-large-2024_04_03-with_data_aug_batch-size32_epochs150_freeze with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lombardata/DinoVdeau-large-2024_04_03-with_data_aug_batch-size32_epochs150_freeze with Transformers:
# Load model directly from transformers import AutoImageProcessor, NewheadDinov2ForImageClassification processor = AutoImageProcessor.from_pretrained("lombardata/DinoVdeau-large-2024_04_03-with_data_aug_batch-size32_epochs150_freeze") model = NewheadDinov2ForImageClassification.from_pretrained("lombardata/DinoVdeau-large-2024_04_03-with_data_aug_batch-size32_epochs150_freeze") - Notebooks
- Google Colab
- Kaggle
| CUDA_DEVICE_ORDER=PCI_BUS_ID | |
| CUDA_VISIBLE_DEVICES=GPU-dcb0ca9d-55d4-28a2-1aa7-2638e1a18e28 | |
| /home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/utils/_experimental.py:57: UserWarning: 'HFSummaryWriter' is experimental and might be subject to breaking changes in the future. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable. | |
| warnings.warn( | |
| Traceback (most recent call last): | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 286, in hf_raise_for_status | |
| response.raise_for_status() | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/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/lombardata/DinoVdeau-large-2024_04_06-with_data_aug_batch-size32_epochs150_freeze/resolve/main/config.json | |
| The above exception was the direct cause of the following exception: | |
| Traceback (most recent call last): | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/transformers/utils/hub.py", line 389, in cached_file | |
| resolved_file = hf_hub_download( | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn | |
| return fn(*args, **kwargs) | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1238, in hf_hub_download | |
| metadata = get_hf_file_metadata( | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn | |
| return fn(*args, **kwargs) | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1631, in get_hf_file_metadata | |
| r = _request_wrapper( | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 385, in _request_wrapper | |
| response = _request_wrapper( | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 409, in _request_wrapper | |
| hf_raise_for_status(response) | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 296, in hf_raise_for_status | |
| raise EntryNotFoundError(message, response) from e | |
| huggingface_hub.utils._errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-6611a011-330d103852718edc12372e19;8e085861-b664-48e6-ab62-70e9759628a1) | |
| Entry Not Found for url: https://huggingface.co/lombardata/DinoVdeau-large-2024_04_06-with_data_aug_batch-size32_epochs150_freeze/resolve/main/config.json. | |
| The above exception was the direct cause of the following exception: | |
| Traceback (most recent call last): | |
| File "/home1/datahome/mcontini/multilabelTest/huggingface_multilabel/train/test_data_aug/resume_training.py", line 252, in <module> | |
| model_config = Dinov2Config.from_pretrained("lombardata/" + session_name, image_size = image_size) | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/transformers/configuration_utils.py", line 615, in from_pretrained | |
| config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs) | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/transformers/configuration_utils.py", line 644, in get_config_dict | |
| config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/transformers/configuration_utils.py", line 699, in _get_config_dict | |
| resolved_config_file = cached_file( | |
| File "/home/datawork-iot-nos/Seatizen/conda-env/gpu_env3/lib/python3.8/site-packages/transformers/utils/hub.py", line 440, in cached_file | |
| raise EnvironmentError( | |
| OSError: lombardata/DinoVdeau-large-2024_04_06-with_data_aug_batch-size32_epochs150_freeze does not appear to have a file named config.json. Checkout 'https://huggingface.co/lombardata/DinoVdeau-large-2024_04_06-with_data_aug_batch-size32_epochs150_freeze/main' for available files. | |
| Upload 2 LFS files: 0%| | 0/2 [00:00<?, ?it/s] Upload 2 LFS files: 50%|βββββ | 1/2 [00:00<00:00, 1.51it/s] Upload 2 LFS files: 100%|ββββββββββ| 2/2 [00:00<00:00, 3.02it/s] | |