Commit
·
6e5d9fc
1
Parent(s):
74f71e8
debug
Browse files
app.py
CHANGED
|
@@ -250,6 +250,7 @@ def predict_on_images(data_files: list, mask_ratio: float, yaml_file_path: str,
|
|
| 250 |
# os.makedirs(output_dir, exist_ok=True)
|
| 251 |
|
| 252 |
# Get parameters --------
|
|
|
|
| 253 |
|
| 254 |
with open(yaml_file_path, 'r') as f:
|
| 255 |
params = yaml.safe_load(f)
|
|
@@ -438,7 +439,6 @@ with gr.Blocks() as demo:
|
|
| 438 |
out8_pred_t2,
|
| 439 |
out9_pred_t3])
|
| 440 |
with gr.Row():
|
| 441 |
-
gr.Markdown("##Examples")
|
| 442 |
gr.Examples(examples=[["HLS.L30.T13REN.2018013T172747.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif",
|
| 443 |
"HLS.L30.T13REN.2018029T172738.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif",
|
| 444 |
"HLS.L30.T13REN.2018061T172724.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"],
|
|
|
|
| 250 |
# os.makedirs(output_dir, exist_ok=True)
|
| 251 |
|
| 252 |
# Get parameters --------
|
| 253 |
+
print(data_files)
|
| 254 |
|
| 255 |
with open(yaml_file_path, 'r') as f:
|
| 256 |
params = yaml.safe_load(f)
|
|
|
|
| 439 |
out8_pred_t2,
|
| 440 |
out9_pred_t3])
|
| 441 |
with gr.Row():
|
|
|
|
| 442 |
gr.Examples(examples=[["HLS.L30.T13REN.2018013T172747.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif",
|
| 443 |
"HLS.L30.T13REN.2018029T172738.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif",
|
| 444 |
"HLS.L30.T13REN.2018061T172724.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"],
|