Leon Sick
commited on
Commit
β’
1b4b7f5
1
Parent(s):
5cd43b7
start of space
Browse files
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
license: mit
|
|
|
1 |
---
|
2 |
+
title: CutS3D
|
3 |
emoji: π
|
4 |
+
colorFrom: red
|
5 |
+
colorTo: blue
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
license: mit
|
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
|
7 |
from model import run_model
|
8 |
|
9 |
-
DESCRIPTION = '# [
|
10 |
|
11 |
paths = sorted(pathlib.Path('CutLER/cutler/demo/imgs').glob('*.jpg'))
|
12 |
|
|
|
6 |
|
7 |
from model import run_model
|
8 |
|
9 |
+
DESCRIPTION = '# [CutS3D](https://leonsick.github.io/cuts3d/) Cutting Semantics in 3D for 2D Unsupervised Instance Segmentation'
|
10 |
|
11 |
paths = sorted(pathlib.Path('CutLER/cutler/demo/imgs').glob('*.jpg'))
|
12 |
|
model.py
CHANGED
@@ -97,8 +97,6 @@ def load_model(score_threshold: float) -> VisualizationDemo:
|
|
97 |
#weight_path = model_dir / WEIGHT_URL.split('/')[-1]
|
98 |
weight_path = model_dir / ".cache" / "huggingface" / "download"/ model_filename
|
99 |
weight_path = model_dir / model_filename
|
100 |
-
print("***weight_path***", weight_path)
|
101 |
-
print("torch.cuda.is_available()", torch.cuda.is_available())
|
102 |
|
103 |
|
104 |
# Load the model weights file from huggingface hub, use token to authenticate
|
|
|
97 |
#weight_path = model_dir / WEIGHT_URL.split('/')[-1]
|
98 |
weight_path = model_dir / ".cache" / "huggingface" / "download"/ model_filename
|
99 |
weight_path = model_dir / model_filename
|
|
|
|
|
100 |
|
101 |
|
102 |
# Load the model weights file from huggingface hub, use token to authenticate
|