runtime error

Exit code: 1. Reason: , in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/.cache' 2025-04-30 06:26:26,615 [ERROR] app.py:286 - Unexpected error during model loading: [Errno 13] Permission denied: '/.cache' 2025-04-30 06:26:26,615 [ERROR] app.py:287 - Traceback (most recent call last): File "/backend/app.py", line 181, in load_trained_model model_instance = InferenceModel(model_config) # Create model structure File "/backend/app.py", line 88, in __init__ self.model = SegformerForSemanticSegmentation.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 262, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3540, in from_pretrained resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 342, in cached_file resolved_file = hf_hub_download( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 862, in hf_hub_download return _hf_hub_download_to_cache_dir( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 979, in _hf_hub_download_to_cache_dir os.makedirs(os.path.dirname(blob_path), exist_ok=True) File "/usr/local/lib/python3.10/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.10/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.10/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) [Previous line repeated 1 more time] File "/usr/local/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/.cache' 2025-04-30 06:26:26,616 [CRITICAL] app.py:297 - CRITICAL: Failed to load model. Application cannot continue.

Container logs:

Fetching error logs...