Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@ import spaces
|
|
2 |
import os
|
3 |
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
4 |
os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")
|
5 |
-
os.system("cp multi_scale_deform_attn.py MrDETR/detrex/layers/ && cd MrDETR && pip install . & cd ..")
|
|
|
6 |
import sys
|
7 |
sys.path.append("MrDETR/")
|
8 |
|
|
|
2 |
import os
|
3 |
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
4 |
os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")
|
5 |
+
# os.system("cp multi_scale_deform_attn.py MrDETR/detrex/layers/ && cd MrDETR && pip install . & cd ..")
|
6 |
+
os.system("cd MrDETR && pip install . & cd ..")
|
7 |
import sys
|
8 |
sys.path.append("MrDETR/")
|
9 |
|