Spaces:
Runtime error
Runtime error
s194649
commited on
Commit
·
5f453af
1
Parent(s):
640f5b4
fixed
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -265,7 +265,7 @@ class SegmentPredictor:
|
|
265 |
|
266 |
def encode(self, image):
|
267 |
image = np.array(image)
|
268 |
-
return self.encode_image(image)
|
269 |
|
270 |
def cond_pred(self, embedding, pts, lbls):
|
271 |
lbls = np.array(lbls)
|
|
|
265 |
|
266 |
def encode(self, image):
|
267 |
image = np.array(image)
|
268 |
+
return self.conditioned_pred.encode_image(image)
|
269 |
|
270 |
def cond_pred(self, embedding, pts, lbls):
|
271 |
lbls = np.array(lbls)
|