allencbzhang commited on
Commit
941f517
·
verified ·
1 Parent(s): d9a2c9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import os
2
- os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
3
- os.system("pip install numpy==1.22.4")
4
- os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && pip install .")
5
  import sys
6
  sys.path.append("MrDETR/")
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 && git submodule init && git submodule update && cd detectron2 && python setup.py build && python setup.py install && cd .. && python setup.py && python setup.py install & cd ..")
 
4
  import sys
5
  sys.path.append("MrDETR/")
6