runtime error
Space failed to start. Exit code: 1. Reason: �██| 12.5k/12.5k [00:00<00:00, 1.78MB/s] Downloading pytorch_model.bin: 0%| | 0.00/167M [00:00<?, ?B/s] Downloading pytorch_model.bin: 13%|█▎ | 21.0M/167M [00:00<00:01, 110MB/s] Downloading pytorch_model.bin: 25%|██▌ | 41.9M/167M [00:00<00:00, 149MB/s] Downloading pytorch_model.bin: 38%|███▊ | 62.9M/167M [00:00<00:00, 124MB/s] Downloading pytorch_model.bin: 50%|█████ | 83.9M/167M [00:00<00:00, 114MB/s] Downloading pytorch_model.bin: 63%|██████▎ | 105M/167M [00:00<00:00, 112MB/s] Downloading pytorch_model.bin: 75%|███████▌ | 126M/167M [00:01<00:00, 108MB/s] Downloading pytorch_model.bin: 88%|████████▊ | 147M/167M [00:01<00:00, 105MB/s] Downloading pytorch_model.bin: 100%|██████████| 167M/167M [00:01<00:00, 103MB/s] Downloading pytorch_model.bin: 100%|██████████| 167M/167M [00:01<00:00, 110MB/s] Traceback (most recent call last): File "app.py", line 8, in <module> model = MaskFormerForInstanceSegmentation.from_pretrained("facebook/maskformer-swin-tiny-ade").to(device) File "/home/user/.local/lib/python3.8/site-packages/transformers/modeling_utils.py", line 2362, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/home/user/.local/lib/python3.8/site-packages/transformers/models/maskformer/modeling_maskformer.py", line 1654, in __init__ self.criterion = MaskFormerLoss( File "/home/user/.local/lib/python3.8/site-packages/transformers/models/maskformer/modeling_maskformer.py", line 964, in __init__ requires_backends(self, ["scipy"]) File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1038, in requires_backends raise ImportError("".join(failed)) ImportError: MaskFormerLoss requires the scipy library but it was not found in your environment. You can install it with pip: `pip install scipy`. Please note that you may need to restart your runtime after installation.
Container logs:
Fetching error logs...