runtime error
Exit code: 1. Reason: B/s] Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`. config.json: 0%| | 0.00/434 [00:00<?, ?B/s][A config.json: 100%|██████████| 434/434 [00:00<00:00, 2.71MB/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1360, in from_pretrained config_class = CONFIG_MAPPING[config_dict["model_type"]] File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1048, in __getitem__ raise KeyError(key) KeyError: 'swin-frequency-hybrid' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/app.py", line 60, in <module> model = AutoModelForImageClassification.from_pretrained(MODEL_ID) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 549, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1362, in from_pretrained raise ValueError( ValueError: The checkpoint you are trying to load has model type `swin-frequency-hybrid` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date. You can update Transformers with the command `pip install --upgrade transformers`. If this does not work, and the checkpoint is very new, then there may not be a release version that supports this model yet. In this case, you can get the most up-to-date code by installing Transformers from source with the command `pip install git+https://github.com/huggingface/transformers.git`
Container logs:
Fetching error logs...