Commit
·
fdff480
1
Parent(s):
7fc14ab
Fix inference
Browse files- examples/{HLS.L30.T13REN.2018013T172747.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif → Mexico_HLS.S30.T13REM.2018026T173609.v2.0_cropped.tif} +2 -2
- examples/{HLS.L30.T13REN.2018029T172738.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif → Mexico_HLS.S30.T13REM.2018106T172859.v2.0_cropped.tif} +2 -2
- examples/{HLS.L30.T13REN.2018061T172724.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif → Mexico_HLS.S30.T13REM.2018201T172901.v2.0_cropped.tif} +2 -2
- examples/Mexico_HLS.S30.T13REM.2018266T173029.v2.0_cropped.tif +3 -0
- inference.py +6 -5
examples/{HLS.L30.T13REN.2018013T172747.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif → Mexico_HLS.S30.T13REM.2018026T173609.v2.0_cropped.tif}
RENAMED
|
File without changes
|
examples/{HLS.L30.T13REN.2018029T172738.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif → Mexico_HLS.S30.T13REM.2018106T172859.v2.0_cropped.tif}
RENAMED
|
File without changes
|
examples/{HLS.L30.T13REN.2018061T172724.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif → Mexico_HLS.S30.T13REM.2018201T172901.v2.0_cropped.tif}
RENAMED
|
File without changes
|
examples/Mexico_HLS.S30.T13REM.2018266T173029.v2.0_cropped.tif
ADDED
|
|
Git LFS Details
|
inference.py
CHANGED
|
@@ -472,14 +472,15 @@ if __name__ == "__main__":
|
|
| 472 |
"--data_files",
|
| 473 |
type=str,
|
| 474 |
nargs="+",
|
| 475 |
-
default=["examples/
|
| 476 |
-
"examples/
|
| 477 |
-
"examples/
|
|
|
|
| 478 |
],
|
| 479 |
help="Path to the data files. Assumes multi-band files.",
|
| 480 |
)
|
| 481 |
parser.add_argument(
|
| 482 |
-
"--
|
| 483 |
"-c",
|
| 484 |
type=str,
|
| 485 |
default="config.json",
|
|
@@ -488,7 +489,7 @@ if __name__ == "__main__":
|
|
| 488 |
parser.add_argument(
|
| 489 |
"--checkpoint",
|
| 490 |
type=str,
|
| 491 |
-
default="
|
| 492 |
help="Path to a checkpoint file to load from.",
|
| 493 |
)
|
| 494 |
parser.add_argument(
|
|
|
|
| 472 |
"--data_files",
|
| 473 |
type=str,
|
| 474 |
nargs="+",
|
| 475 |
+
default=["examples/Mexico_HLS.S30.T13REM.2018026T173609.v2.0_cropped.tif",
|
| 476 |
+
"examples/Mexico_HLS.S30.T13REM.2018106T172859.v2.0_cropped.tif",
|
| 477 |
+
"examples/Mexico_HLS.S30.T13REM.2018201T172901.v2.0_cropped.tif",
|
| 478 |
+
"examples/Mexico_HLS.S30.T13REM.2018266T173029.v2.0_cropped.tif",
|
| 479 |
],
|
| 480 |
help="Path to the data files. Assumes multi-band files.",
|
| 481 |
)
|
| 482 |
parser.add_argument(
|
| 483 |
+
"--config_path",
|
| 484 |
"-c",
|
| 485 |
type=str,
|
| 486 |
default="config.json",
|
|
|
|
| 489 |
parser.add_argument(
|
| 490 |
"--checkpoint",
|
| 491 |
type=str,
|
| 492 |
+
default="Prithvi_EO_V2_600M.pt",
|
| 493 |
help="Path to a checkpoint file to load from.",
|
| 494 |
)
|
| 495 |
parser.add_argument(
|