Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@
|
|
2 |
building-segmentation
|
3 |
Proof of concept showing effectiveness of a fine tuned instance segmentation model for deteting buildings.
|
4 |
"""
|
5 |
-
import os
|
|
|
6 |
os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
7 |
from transformers import DetrFeatureExtractor, DetrForSegmentation
|
8 |
from PIL import Image
|
|
|
2 |
building-segmentation
|
3 |
Proof of concept showing effectiveness of a fine tuned instance segmentation model for deteting buildings.
|
4 |
"""
|
5 |
+
import os
|
6 |
+
import cv2
|
7 |
os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
8 |
from transformers import DetrFeatureExtractor, DetrForSegmentation
|
9 |
from PIL import Image
|