runtime error

Exit code: 1. Reason: with the default path (/.config/matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing. Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/image_processing_auto.py", line 458, in from_pretrained config_dict, _ = ImageProcessingMixin.get_image_processor_dict( File "/usr/local/lib/python3.10/site-packages/transformers/image_processing_base.py", line 368, in get_image_processor_dict with open(resolved_image_processor_file, encoding="utf-8") as reader: TypeError: expected str, bytes or os.PathLike object, not NoneType During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/app.py", line 34, in <module> processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-tiny-ade-semantic") File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/image_processing_auto.py", line 462, in from_pretrained raise initial_exception File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/image_processing_auto.py", line 449, in from_pretrained config_dict, _ = ImageProcessingMixin.get_image_processor_dict( File "/usr/local/lib/python3.10/site-packages/transformers/image_processing_base.py", line 340, in get_image_processor_dict resolved_image_processor_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 266, in cached_file file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 517, in cached_files raise EnvironmentError( OSError: facebook/mask2former-swin-tiny-ade-semantic does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co/facebook/mask2former-swin-tiny-ade-semantic/tree/main'for available files.

Container logs:

Fetching error logs...