Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
67eca52
1
Parent(s):
6b8e3c4
fix
Browse files- inference.py +1 -4
inference.py
CHANGED
@@ -35,12 +35,9 @@ class DepthPredictor:
|
|
35 |
depth = Image.fromarray(formatted)
|
36 |
return depth
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
|
42 |
|
43 |
-
class
|
44 |
def __init__(self):
|
45 |
MODEL_TYPE = "vit_b"
|
46 |
checkpoint = "sam_vit_b_01ec64.pth"
|
|
|
35 |
depth = Image.fromarray(formatted)
|
36 |
return depth
|
37 |
|
|
|
|
|
|
|
38 |
|
39 |
|
40 |
+
class SegmentPredictor:
|
41 |
def __init__(self):
|
42 |
MODEL_TYPE = "vit_b"
|
43 |
checkpoint = "sam_vit_b_01ec64.pth"
|