How gasimmammad/cuttings-lithology-ml works
This repository is a research pipeline for testing what drill-cuttings photographs can reveal about lithology, chemistry, mud-log descriptions, and stratigraphy. The main documented workflow indexes photographs, creates image tiles and embeddings, computes features, then evaluates held-out-well predictions against XRF chemistry. Separate rounds investigate sand/clay classification, glauconite, mud-log labels, and stratigraphic tops. The map follows README-stated capabilities and reproduction steps; most numbered scripts were not sampled, so their internal calls and data handoffs are not inferred.
Main entry points: 52_v7_photo_to_xrf.py Photo to XRF · config.py Paths and parameters · 25_v2_index.py V2 image index · 26_v2_tiles.py Image tiles
Components 18
Inputs and configuration
- Released well data
- Paths and parameters
scripts/config.py
Image preparation and models
- Photo inventory
scripts/01_inventory.py - V2 image index
scripts/25_v2_index.py - Image tiles
scripts/26_v2_tiles.py - Image embeddings
scripts/27_v2_embed.py - Colour and texture features
scripts/features.py
Research tests
- Gamma-ray labels
scripts/03_make_labels.py - Sand-clay evaluation
scripts/29_v2_evaluate.py - Photo to XRF
scripts/52_v7_photo_to_xrf.py - Element and skill tests
scripts/63_v8_elements_when.py - Mud-log label tests
scripts/57_v7_mudlog_labels.py - Mud-log evaluation
scripts/58_v7_mudlog_tests.py - Glauconite detector
scripts/53_v7_pellet_blobs.py - Stratigraphic tests
scripts/70_v10_strat.py - Vertical-resolution test
scripts/71_v10_step.py
Evaluation and reporting
- Results and figures
scripts/65_v8_figures.py
Other components
- Researcher
Connections 17
- Released well data → V2 image index: indexes photos
README.md - V2 image index → Image tiles: prepares images
README.md - Image tiles → Image embeddings: creates embeddings
README.md - Image embeddings → Colour and texture features: extracts features
README.md - Colour and texture features → Photo to XRF: predicts chemistry
README.md - Photo to XRF → Element and skill tests: extends tests
README.md - Element and skill tests → Results and figures: visualizes results
README.md - Released well data → Gamma-ray labels: provides well logs
- Gamma-ray labels → Sand-clay evaluation: tests labels
- Released well data → Mud-log label tests: provides mud logs
- Mud-log label tests → Mud-log evaluation: evaluates labels
- Released well data → Glauconite detector: provides photographs
- Released well data → Stratigraphic tests: provides well data
- Released well data → Vertical-resolution test: provides well data
- Researcher → Results and figures: reviews findings
- Paths and parameters → Photo inventory: configures paths
README.md - Paths and parameters → Photo to XRF: configures paths
README.md