blumenstiel
commited on
Commit
Β·
f785e54
1
Parent(s):
540601d
Updated examples
Browse files- app.py +12 -10
- examples/{HLS.L30.T13REN.2018013T172747.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif β Alaska_HLS.S30.T06VUN.2020305T212629.v2.0_cropped.tif} +2 -2
- examples/{HLS.L30.T13REN.2018029T172738.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif β Alaska_HLS.S30.T06VUN.2021044T212601.v2.0_cropped.tif} +2 -2
- examples/{HLS.L30.T13REN.2018061T172724.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif β Alaska_HLS.S30.T06VUN.2021067T213531.v2.0_cropped.tif} +2 -2
- examples/{HLS.L30.T17RMP.2018004T155509.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif β Alaska_HLS.S30.T06VUN.2021144T212521.v2.0_cropped.tif} +2 -2
- examples/Florida_HLS.S30.T17RMP.2019119T155911.v2.0_cropped.tif +3 -0
- examples/Florida_HLS.S30.T17RMP.2019249T155901.v2.0_cropped.tif +3 -0
- examples/Florida_HLS.S30.T17RMP.2019349T160651.v2.0_cropped.tif +3 -0
- examples/Florida_HLS.S30.T17RMP.2020039T160419.v2.0_cropped.tif +3 -0
- examples/HLS.L30.T17RMP.2018036T155452.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif +0 -3
- examples/HLS.L30.T17RMP.2018068T155438.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif +0 -3
- examples/HLS.L30.T18TVL.2018029T154533.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif +0 -3
- examples/HLS.L30.T18TVL.2018141T154435.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif +0 -3
- examples/HLS.L30.T18TVL.2018189T154446.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif +0 -3
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='
|
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 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
|
|
|
|
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
|
examples/Florida_HLS.S30.T17RMP.2019249T155901.v2.0_cropped.tif
ADDED
Git LFS Details
|
examples/Florida_HLS.S30.T17RMP.2019349T160651.v2.0_cropped.tif
ADDED
Git LFS Details
|
examples/Florida_HLS.S30.T17RMP.2020039T160419.v2.0_cropped.tif
ADDED
Git LFS Details
|
examples/HLS.L30.T17RMP.2018036T155452.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif
DELETED
Git LFS Details
|
examples/HLS.L30.T17RMP.2018068T155438.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif
DELETED
Git LFS Details
|
examples/HLS.L30.T18TVL.2018029T154533.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif
DELETED
Git LFS Details
|
examples/HLS.L30.T18TVL.2018141T154435.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif
DELETED
Git LFS Details
|
examples/HLS.L30.T18TVL.2018189T154446.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif
DELETED
Git LFS Details
|