Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ coco_metadata = MetadataCatalog.get("coco_2017_val_panoptic")
|
|
29 |
from mask2former import add_maskformer2_config
|
30 |
|
31 |
from PIL import Image
|
|
|
32 |
|
33 |
cfg = get_cfg()
|
34 |
cfg.MODEL.DEVICE='cpu'
|
|
|
29 |
from mask2former import add_maskformer2_config
|
30 |
|
31 |
from PIL import Image
|
32 |
+
import imutils
|
33 |
|
34 |
cfg = get_cfg()
|
35 |
cfg.MODEL.DEVICE='cpu'
|