allencbzhang commited on
Commit
c23b6bb
·
verified ·
1 Parent(s): f55c49d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import os
2
  os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
3
- os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && python setup.py build && python setup.py install & cd ..")
 
4
  import sys
5
  sys.path.append("MrDETR/")
6
 
 
1
  import os
2
  os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
3
+ os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")
4
+ os.system("cp multi_scale_deform_attn.py MrDETR/detrex/layers/ && cd MrDETR && pip install . & cd ..")
5
  import sys
6
  sys.path.append("MrDETR/")
7