jerpelhan commited on
Commit
516da1a
·
1 Parent(s): 0df4856

Updated gallery

Browse files
.gitattributes CHANGED
@@ -1 +1,2 @@
1
  *.pth filter=lfs diff=lfs merge=lfs -text
 
 
1
  *.pth filter=lfs diff=lfs merge=lfs -text
2
+ *.jpg filter=lfs diff=lfs merge=lfs -text
demo_gradio.py CHANGED
@@ -349,7 +349,7 @@ def post_process(image, outputs, masks, img, scale, drawn_boxes, enable_mask, th
349
  # -----------------------------
350
  # Examples: gallery click -> set annotator value
351
  # -----------------------------
352
- EXAMPLE_PATHS = ["material/1.jpg", "material/2.jpg", "material/3.jpg", "material/4.jpg", "material/5.jpg"]
353
 
354
  def load_example_from_gallery(evt: gr.SelectData):
355
  """
@@ -410,7 +410,7 @@ GeCo2 is a few-shot, category-agnostic detection counter. With only a small numb
410
 
411
  gallery = gr.Gallery(
412
  value=EXAMPLE_PATHS,
413
- columns=5,
414
  height=300,
415
  label="Examples (click an image to load it into the annotator)",
416
  show_label=True,
 
349
  # -----------------------------
350
  # Examples: gallery click -> set annotator value
351
  # -----------------------------
352
+ EXAMPLE_PATHS = ["material/01.jpg", "material/00.jpg", "material/02.jpg", "material/03.jpg", "material/05.jpg","material/04.jpg","material/06.jpg"]
353
 
354
  def load_example_from_gallery(evt: gr.SelectData):
355
  """
 
410
 
411
  gallery = gr.Gallery(
412
  value=EXAMPLE_PATHS,
413
+ columns=7,
414
  height=300,
415
  label="Examples (click an image to load it into the annotator)",
416
  show_label=True,
material/00.jpg ADDED

Git LFS Details

  • SHA256: 1223351cc6cbfd91f0443df435fe7680610112ed7c53d3b7900a7c0ef5281c48
  • Pointer size: 132 Bytes
  • Size of remote file: 1.55 MB
material/01.jpg ADDED

Git LFS Details

  • SHA256: 7986875b56c7eeec1199ad31ef67de7324c769bf9014ee0351ba31dded6703a8
  • Pointer size: 132 Bytes
  • Size of remote file: 3.06 MB
material/02.jpg ADDED

Git LFS Details

  • SHA256: 9e3f25eedb82b9df4e0f439d9299735cb6c716f0bf1a1f28a83e97389961bcb9
  • Pointer size: 132 Bytes
  • Size of remote file: 2.17 MB
material/03.jpg ADDED

Git LFS Details

  • SHA256: 5358d215e238c5553f6bb00a4b63ec3cac87c311e688c3b49884f07b2fcf032f
  • Pointer size: 130 Bytes
  • Size of remote file: 96.7 kB
material/04.jpg ADDED

Git LFS Details

  • SHA256: c6939988b95c78214e8d179ec78207b01c725695560bfb0e82b25685cfd7b6d8
  • Pointer size: 132 Bytes
  • Size of remote file: 2.78 MB
material/05.jpg ADDED

Git LFS Details

  • SHA256: a52601b341c8f5ee0bcad6797dc7418bddda7b98f26d4ab14ab5822c25e41e1e
  • Pointer size: 130 Bytes
  • Size of remote file: 46.6 kB
material/06.jpg ADDED

Git LFS Details

  • SHA256: 844f71321b37ce838160bc6dff21fb2790dd3ac7c03bfd18e44f52906b2fad41
  • Pointer size: 132 Bytes
  • Size of remote file: 2.39 MB
material/1.jpg DELETED
Binary file (19.4 kB)
 
material/2.jpg DELETED
Binary file (38.9 kB)
 
material/3.jpg DELETED
Binary file (96.7 kB)
 
material/4.jpg DELETED
Binary file (47.1 kB)
 
material/5.jpg DELETED
Binary file (46.6 kB)