RobotJelly commited on
Commit
776463a
1 Parent(s): 6369381
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def predict(image_file, segmentation_png, bitmap_img):
21
 
22
  label_file = tf.image.decode_bmp(tf.io.read_file(image_list[2]), channels=0)
23
  # label_file = tf.image.rgb_to_grayscale(tf.image.decode_bmp(tf.io.read_file(image_list[2]), channels=3))
24
- #print("after decode_bmp --> ", label_file.shape, type(label_file))
25
  label_file = tf.squeeze(label_file)
26
 
27
  image_list = [segmentation_file, image, label_file]
 
21
 
22
  label_file = tf.image.decode_bmp(tf.io.read_file(image_list[2]), channels=0)
23
  # label_file = tf.image.rgb_to_grayscale(tf.image.decode_bmp(tf.io.read_file(image_list[2]), channels=3))
24
+ # print("after decode_bmp --> ", label_file.shape, type(label_file))
25
  label_file = tf.squeeze(label_file)
26
 
27
  image_list = [segmentation_file, image, label_file]