Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,13 +7,7 @@ os.system("git clone https://github.com/AK391/Mask2Former.git")
|
|
7 |
|
8 |
os.chdir("Mask2Former")
|
9 |
os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
|
10 |
-
os.chdir("mask2former/modeling/pixel_decoder/ops")
|
11 |
-
#s.system("pwd")
|
12 |
|
13 |
-
os.environ["TORCH_CUDA_ARCH_LIST"] = "8.0"
|
14 |
-
os.environ["FORCE_CUDA"] = "1"
|
15 |
-
os.system("python setup.py build install")
|
16 |
-
os.chdir("/home/user/app/Mask2Former/")
|
17 |
os.system("pwd")
|
18 |
import gradio as gr
|
19 |
# check pytorch installation:
|
|
|
7 |
|
8 |
os.chdir("Mask2Former")
|
9 |
os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
11 |
os.system("pwd")
|
12 |
import gradio as gr
|
13 |
# check pytorch installation:
|