Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
de13e02
1
Parent(s):
9dd1448
fix
Browse files- inference.py +1 -1
inference.py
CHANGED
|
@@ -64,7 +64,7 @@ class DepthPredictor:
|
|
| 64 |
formatted = 255 - (output * 255 / np.max(output)).astype('uint8')
|
| 65 |
|
| 66 |
#img = Image.fromarray(formatted)
|
| 67 |
-
return
|
| 68 |
|
| 69 |
def generate_pcl(self, image):
|
| 70 |
print(np.array(image).shape)
|
|
|
|
| 64 |
formatted = 255 - (output * 255 / np.max(output)).astype('uint8')
|
| 65 |
|
| 66 |
#img = Image.fromarray(formatted)
|
| 67 |
+
return output
|
| 68 |
|
| 69 |
def generate_pcl(self, image):
|
| 70 |
print(np.array(image).shape)
|