JUGGHM commited on
Commit
7d977ce
·
1 Parent(s): 885c69a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 == 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')
 
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')