Harveenchadha commited on
Commit
519d0f9
Β·
1 Parent(s): 183f249

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -25,6 +25,10 @@ def infer(original_image):
25
  output_image = np.uint32(output_image)'''
26
 
27
  output_image = tf.cast((output[0, :, :, :] * 255), dtype=np.uint8)
 
 
 
 
28
  #output_image = Image.fromarray(output_image.numpy())
29
  output_image = output_image.numpy()
30
  return output_image
 
25
  output_image = np.uint32(output_image)'''
26
 
27
  output_image = tf.cast((output[0, :, :, :] * 255), dtype=np.uint8)
28
+ print(output_image)
29
+ print(len(output_image))
30
+ print([len(a) for a in output_image])
31
+
32
  #output_image = Image.fromarray(output_image.numpy())
33
  output_image = output_image.numpy()
34
  return output_image