hlydecker commited on
Commit
e3dc417
1 Parent(s): 2c0f2db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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, json, cv2, random
 
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