runtime error
Exit code: 3. Reason: _processor_dict resolved_image_processor_file = cached_file( ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/utils/hub.py", line 312, in cached_file file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/utils/hub.py", line 515, in cached_files raise OSError( OSError: PermissionError at /app/hf-cache/models--mattmdjaga--segformer_b2_clothes/snapshots/584abc1e1d260e23c0fc627c5217a09b2b461046 when downloading mattmdjaga/segformer_b2_clothes. Check cache directory permissions. Common causes: 1) another user is downloading the same model (please wait); 2) a previous download was canceled and the lock file needs manual removal. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 692, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 569, in __aenter__ await self._router.startup() File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 669, in startup await handler() File "/app/app.py", line 336, in startup_event await load_model() File "/app/app.py", line 104, in load_model raise HTTPException(status_code=500, detail=f"Model loading failed: {e}") fastapi.exceptions.HTTPException: 500: Model loading failed: PermissionError at /app/hf-cache/models--mattmdjaga--segformer_b2_clothes/snapshots/584abc1e1d260e23c0fc627c5217a09b2b461046 when downloading mattmdjaga/segformer_b2_clothes. Check cache directory permissions. Common causes: 1) another user is downloading the same model (please wait); 2) a previous download was canceled and the lock file needs manual removal. ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...