runtime error

Exit code: 3. Reason: b/python3.8/site-packages/gunicorn/workers/base.py", line 147, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/site-packages/gunicorn/app/base.py", line 66, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 57, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/site-packages/gunicorn/util.py", line 370, in import_app mod = importlib.import_module(module) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 843, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/app/app.py", line 13, in <module> model = torch.hub.load("intel-isl/MiDaS", "MiDaS_small", trust_repo=True) File "/usr/local/lib/python3.8/site-packages/torch/hub.py", line 567, in load repo_or_dir = _get_cache_or_reload(repo_or_dir, force_reload, trust_repo, "load", File "/usr/local/lib/python3.8/site-packages/torch/hub.py", line 206, in _get_cache_or_reload os.makedirs(hub_dir, exist_ok=True) File "/usr/local/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/app/.cache/torch/hub' [2024-11-07 16:36:51 +0000] [8] [INFO] Worker exiting (pid: 8) [2024-11-07 16:36:51 +0000] [1] [ERROR] Worker (pid:8) exited with code 3 [2024-11-07 16:36:51 +0000] [1] [ERROR] Shutting down: Master [2024-11-07 16:36:51 +0000] [1] [ERROR] Reason: Worker failed to boot.

Container logs:

Fetching error logs...