Object Detection
TerraTorch
PEFT
lunar
moon
planetary-science
remote-sensing
crater-detection
faster-rcnn
lora
multimodal
terramind
flexivit
vision
Instructions to use nasa-ibm-ai4science/Crater-Detection-NASA-IBM-Lunar-Foundation-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TerraTorch
How to use nasa-ibm-ai4science/Crater-Detection-NASA-IBM-Lunar-Foundation-Model with TerraTorch:
from terratorch.registry import BACKBONE_REGISTRY model = BACKBONE_REGISTRY.build("nasa-ibm-ai4science/Crater-Detection-NASA-IBM-Lunar-Foundation-Model") - PEFT
How to use nasa-ibm-ai4science/Crater-Detection-NASA-IBM-Lunar-Foundation-Model with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -81,8 +81,10 @@ annotated at 5 m/px (visibly blurrier — including the tile shown), which helps
|
|
| 81 |
## Repository contents
|
| 82 |
|
| 83 |
```
|
| 84 |
-
|
| 85 |
-
|
|
|
|
|
|
|
| 86 |
```
|
| 87 |
|
| 88 |
The pretrained backbone is **not duplicated here** — pull it from
|
|
@@ -103,7 +105,7 @@ visible tiles drawn from the **test split of the pretraining corpus**, filtered
|
|
| 103 |
Apollo 15 S-IVB, Apollo 17, Reiner Gamma, and March 17 Impact Crater — selected under relief-enhancing
|
| 104 |
illumination (incidence ~50–80°). Craters were manually labeled inside 4–6 fixed 1024 × 1024 px study areas per
|
| 105 |
site using co-registered 3 m/px DTMs, digitized as circles with
|
| 106 |
-
[OpenCraterTool](https://doi.org/10.1016/j.pss.2023.
|
| 107 |
**766 patches, 97,104 crater annotations**. Splits are enforced at both site and study-area level to prevent
|
| 108 |
leakage.
|
| 109 |
|
|
@@ -146,7 +148,7 @@ terratorch test --config configs/finetune/crater_wac_robbins_lora.yaml \
|
|
| 146 |
```python
|
| 147 |
from huggingface_hub import snapshot_download
|
| 148 |
|
| 149 |
-
local = snapshot_download("nasa-ibm-ai4science/
|
| 150 |
# then set the backbone checkpoint path in the YAML to the downloaded nasa-ibm-lunar-fm backbone
|
| 151 |
```
|
| 152 |
|
|
@@ -184,7 +186,7 @@ Reported at two training-data fractions to probe label efficiency.
|
|
| 184 |
| NASA-IBM LFM (ps8, LoRA) | <u>0.2539 ± 0.0014</u> | **0.6103 ± 0.0012** | **0.2214 ± 0.0030** |
|
| 185 |
| NASA-IBM LFM (ps8, frozen) | 0.1617 ± 0.0026 | 0.3962 ± 0.0052 | 0.1081 ± 0.0040 |
|
| 186 |
|
| 187 |
-
**100% training data** — the released `
|
| 188 |
|
| 189 |
| Model | mAP ↑ | AP@50 ↑ | AP@75 ↑ |
|
| 190 |
|---|---|---|---|
|
|
@@ -202,7 +204,7 @@ Reported at two training-data fractions to probe label efficiency.
|
|
| 202 |
|
| 203 |
### NAC hand-labeled craters (meter scale), 100% training data
|
| 204 |
|
| 205 |
-
The released `
|
| 206 |
|
| 207 |
| Model | mAP ↑ | AP@50 ↑ | AP@75 ↑ |
|
| 208 |
|---|---|---|---|
|
|
|
|
| 81 |
## Repository contents
|
| 82 |
|
| 83 |
```
|
| 84 |
+
NAC_config.yaml NAC craters: TerraTorch config for NAC crater task
|
| 85 |
+
NAC_ni_lfm_ps9_s44.ckpt NAC craters: LoRA adapter + detection head weights
|
| 86 |
+
WAC_congig.yaml WAC, Robbins craters: TerraTorch config (100% training data)
|
| 87 |
+
WAC_ni_lfm_ps8_lora_s46.ckpt WAC, Robbins craters: LoRA adapter + detection head weights (100% training data)
|
| 88 |
```
|
| 89 |
|
| 90 |
The pretrained backbone is **not duplicated here** — pull it from
|
|
|
|
| 105 |
Apollo 15 S-IVB, Apollo 17, Reiner Gamma, and March 17 Impact Crater — selected under relief-enhancing
|
| 106 |
illumination (incidence ~50–80°). Craters were manually labeled inside 4–6 fixed 1024 × 1024 px study areas per
|
| 107 |
site using co-registered 3 m/px DTMs, digitized as circles with
|
| 108 |
+
[OpenCraterTool](https://doi.org/10.1016/j.pss.2023.105687), then mapped to 256 × 256 patches in COCO format:
|
| 109 |
**766 patches, 97,104 crater annotations**. Splits are enforced at both site and study-area level to prevent
|
| 110 |
leakage.
|
| 111 |
|
|
|
|
| 148 |
```python
|
| 149 |
from huggingface_hub import snapshot_download
|
| 150 |
|
| 151 |
+
local = snapshot_download("nasa-ibm-ai4science/Crater-Detection-NASA-IBM-Lunar-Foundation-Model")
|
| 152 |
# then set the backbone checkpoint path in the YAML to the downloaded nasa-ibm-lunar-fm backbone
|
| 153 |
```
|
| 154 |
|
|
|
|
| 186 |
| NASA-IBM LFM (ps8, LoRA) | <u>0.2539 ± 0.0014</u> | **0.6103 ± 0.0012** | **0.2214 ± 0.0030** |
|
| 187 |
| NASA-IBM LFM (ps8, frozen) | 0.1617 ± 0.0026 | 0.3962 ± 0.0052 | 0.1081 ± 0.0040 |
|
| 188 |
|
| 189 |
+
**100% training data** — the released `WAC` checkpoint
|
| 190 |
|
| 191 |
| Model | mAP ↑ | AP@50 ↑ | AP@75 ↑ |
|
| 192 |
|---|---|---|---|
|
|
|
|
| 204 |
|
| 205 |
### NAC hand-labeled craters (meter scale), 100% training data
|
| 206 |
|
| 207 |
+
The released `NAC` checkpoint.
|
| 208 |
|
| 209 |
| Model | mAP ↑ | AP@50 ↑ | AP@75 ↑ |
|
| 210 |
|---|---|---|---|
|