blumenstiel commited on
Commit
f785e54
Β·
1 Parent(s): 540601d

Updated examples

Browse files
app.py CHANGED
@@ -232,22 +232,24 @@ Some example images are provided at the end of this page.
232
  masked.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
233
  predicted.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
234
 
235
- gr.Markdown(value='* The reconstructed images include the ground truth unmasked patches.')
236
 
237
  btn.click(fn=run_inference,
238
  inputs=inp_files,
239
  outputs=original + masked + predicted)
240
 
241
  with gr.Row():
242
- gr.Examples(examples=[[[os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T13REN.2018013T172747.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"),
243
- os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T13REN.2018029T172738.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"),
244
- os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T13REN.2018061T172724.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif")]],
245
- [[os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T17RMP.2018004T155509.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"),
246
- os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T17RMP.2018036T155452.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"),
247
- os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T17RMP.2018068T155438.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif")]],
248
- [[os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T18TVL.2018029T154533.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"),
249
- os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T18TVL.2018141T154435.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"),
250
- os.path.join(os.path.dirname(__file__), "examples/HLS.L30.T18TVL.2018189T154446.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif")]]],
 
 
251
  inputs=inp_files,
252
  outputs=original + masked + predicted,
253
  fn=run_inference,
 
232
  masked.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
233
  predicted.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
234
 
235
+ gr.Markdown(value='\* The reconstructed images include the ground truth unmasked patches.')
236
 
237
  btn.click(fn=run_inference,
238
  inputs=inp_files,
239
  outputs=original + masked + predicted)
240
 
241
  with gr.Row():
242
+ gr.Examples(examples=[[[
243
+ os.path.join(os.path.dirname(__file__), "examples/Alaska_HLS.S30.T06VUN.2020305T212629.v2.0_cropped.tif"),
244
+ os.path.join(os.path.dirname(__file__), "examples/Alaska_HLS.S30.T06VUN.2021044T212601.v2.0_cropped.tif"),
245
+ os.path.join(os.path.dirname(__file__), "examples/Alaska_HLS.S30.T06VUN.2021067T213531.v2.0_cropped.tif"),
246
+ os.path.join(os.path.dirname(__file__), "examples/Alaska_HLS.S30.T06VUN.2021067T213531.v2.0_cropped.tif")
247
+ ]], [[
248
+ os.path.join(os.path.dirname(__file__), "examples/Florida_HLS.S30.T17RMP.2019119T155911.v2.0_cropped.tif"),
249
+ os.path.join(os.path.dirname(__file__), "examples/Florida_HLS.S30.T17RMP.2019249T155901.v2.0_cropped.tif"),
250
+ os.path.join(os.path.dirname(__file__), "examples/Florida_HLS.S30.T17RMP.2019349T160651.v2.0_cropped.tif"),
251
+ os.path.join(os.path.dirname(__file__), "examples/Florida_HLS.S30.T17RMP.2020039T160419.v2.0_cropped.tif")
252
+ ]]],
253
  inputs=inp_files,
254
  outputs=original + masked + predicted,
255
  fn=run_inference,
examples/{HLS.L30.T13REN.2018013T172747.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif β†’ Alaska_HLS.S30.T06VUN.2020305T212629.v2.0_cropped.tif} RENAMED
File without changes
examples/{HLS.L30.T13REN.2018029T172738.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif β†’ Alaska_HLS.S30.T06VUN.2021044T212601.v2.0_cropped.tif} RENAMED
File without changes
examples/{HLS.L30.T13REN.2018061T172724.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif β†’ Alaska_HLS.S30.T06VUN.2021067T213531.v2.0_cropped.tif} RENAMED
File without changes
examples/{HLS.L30.T17RMP.2018004T155509.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif β†’ Alaska_HLS.S30.T06VUN.2021144T212521.v2.0_cropped.tif} RENAMED
File without changes
examples/Florida_HLS.S30.T17RMP.2019119T155911.v2.0_cropped.tif ADDED

Git LFS Details

  • SHA256: 742ac996cdf615f10a5a60ca363136ab878a06e2256ce4d623fe3faf85c0b325
  • Pointer size: 132 Bytes
  • Size of remote file: 3.01 MB
examples/Florida_HLS.S30.T17RMP.2019249T155901.v2.0_cropped.tif ADDED

Git LFS Details

  • SHA256: 3f29e9f50cb2d85cf89d455319bf83499dc5c0cce1c29db09af62084b629b5f1
  • Pointer size: 132 Bytes
  • Size of remote file: 3.01 MB
examples/Florida_HLS.S30.T17RMP.2019349T160651.v2.0_cropped.tif ADDED

Git LFS Details

  • SHA256: 44910663b2051a461b116d08461aa5c61cf478a1757c611d92a6fc0fa9571cd1
  • Pointer size: 132 Bytes
  • Size of remote file: 3.01 MB
examples/Florida_HLS.S30.T17RMP.2020039T160419.v2.0_cropped.tif ADDED

Git LFS Details

  • SHA256: c483098b8b4455fa31711c6ca10a1cbef57dd9c30b0d7f52c3b2e077f5f2e11c
  • Pointer size: 132 Bytes
  • Size of remote file: 3.01 MB
examples/HLS.L30.T17RMP.2018036T155452.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif DELETED

Git LFS Details

  • SHA256: b8b4bfff07672d765d2350b324631a588578740d5582c92189ad5ada198a88c5
  • Pointer size: 132 Bytes
  • Size of remote file: 3.24 MB
examples/HLS.L30.T17RMP.2018068T155438.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif DELETED

Git LFS Details

  • SHA256: 1a22d7d5b06f069a62ff3a76f0719158eac10f9cc9c5623e1d4db6e511495097
  • Pointer size: 132 Bytes
  • Size of remote file: 3.24 MB
examples/HLS.L30.T18TVL.2018029T154533.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif DELETED

Git LFS Details

  • SHA256: 9b40ca063665849268b792e21a54069af900dade98c0e728f9586c639f221f0b
  • Pointer size: 132 Bytes
  • Size of remote file: 3.36 MB
examples/HLS.L30.T18TVL.2018141T154435.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif DELETED

Git LFS Details

  • SHA256: b79534c8002421598d00dde32fe69da18b8af7fe1a31fab04e4581406bdc442e
  • Pointer size: 132 Bytes
  • Size of remote file: 3.36 MB
examples/HLS.L30.T18TVL.2018189T154446.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif DELETED

Git LFS Details

  • SHA256: 7e276d768c6b7d461cc26020165641512391a59182db1bc50546e2f868b4ff17
  • Pointer size: 132 Bytes
  • Size of remote file: 3.36 MB