Tzktz commited on
Commit
0adaacf
1 Parent(s): 920cea2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  from unilm.dit.object_detection.ditod import add_vit_config
2
  import torch
3
  import cv2
 
1
+ import os
2
+ os.system('git clone https://github.com/facebookresearch/detectron2.git')
3
+ os.system('pip install -e detectron2')
4
+ import Sys
5
+ sys.path.append("detectron2")
6
  from unilm.dit.object_detection.ditod import add_vit_config
7
  import torch
8
  import cv2