Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def depth_normal(img):
|
|
73 |
|
74 |
pred_normal = pred_normal.squeeze()
|
75 |
if pred_normal.size(0) == 3:
|
76 |
-
pred_normal
|
77 |
pred_color_normal = vis_surface_normal(pred_normal)
|
78 |
|
79 |
##formatted = (output * 255 / np.max(output)).astype('uint8')
|
|
|
73 |
|
74 |
pred_normal = pred_normal.squeeze()
|
75 |
if pred_normal.size(0) == 3:
|
76 |
+
pred_normal = pred_normal.permute(1,2,0)
|
77 |
pred_color_normal = vis_surface_normal(pred_normal)
|
78 |
|
79 |
##formatted = (output * 255 / np.max(output)).astype('uint8')
|