rayquaza384mega commited on
Commit
d277748
·
1 Parent(s): 09ec9be

repair-cls-2

Browse files
app.py CHANGED
@@ -519,7 +519,7 @@ def load_examples(d, stack=False):
519
  try:
520
  img = tifffile.imread(fp) if f.endswith(('.tif','.tiff')) else np.array(Image.open(fp).convert("L"))
521
  if stack and img.ndim == 3: img = np.mean(img, axis=0)
522
- ex.append((numpy_to_pil(img, "L"), fp))
523
  except: pass
524
  return ex
525
 
 
519
  try:
520
  img = tifffile.imread(fp) if f.endswith(('.tif','.tiff')) else np.array(Image.open(fp).convert("L"))
521
  if stack and img.ndim == 3: img = np.mean(img, axis=0)
522
+ ex.append((numpy_to_pil(img, "L"), f))
523
  except: pass
524
  return ex
525
 
example_images_cls/cls_input_1754670277543.png DELETED

Git LFS Details

  • SHA256: dc2c084aecd4610274280ffc0b8dd2eafdb0899a7cbf70d4b15708b2f13cb733
  • Pointer size: 130 Bytes
  • Size of remote file: 64 kB
example_images_cls/cls_input_1754670358223.png DELETED

Git LFS Details

  • SHA256: 922489201a874d70d6bed45e30dc98fb75f7d90d4910f868d53b2a380caa8821
  • Pointer size: 130 Bytes
  • Size of remote file: 37 kB
example_images_cls/cls_input_1754670363268.png DELETED

Git LFS Details

  • SHA256: 922489201a874d70d6bed45e30dc98fb75f7d90d4910f868d53b2a380caa8821
  • Pointer size: 130 Bytes
  • Size of remote file: 37 kB
example_images_cls/cls_input_1754670366893.png DELETED

Git LFS Details

  • SHA256: f704fe2bbd72985491fb419dd9e8998e76b21e0b059cff092cfd1dbf2da9d5d7
  • Pointer size: 130 Bytes
  • Size of remote file: 42.5 kB
example_images_cls/cls_input_1754670372624.png DELETED

Git LFS Details

  • SHA256: f704fe2bbd72985491fb419dd9e8998e76b21e0b059cff092cfd1dbf2da9d5d7
  • Pointer size: 130 Bytes
  • Size of remote file: 42.5 kB