How lukasmosser/seismic-arena works
Seismic Arena lets people compare seismic fault-segmentation models by viewing predictions for the same validation image and submitting a preference; battle outcomes feed an Elo-style leaderboard. The map separates the Gradio workflow, model inference, and rating service. The README documents Modal-hosted inference, persistence, and leaderboard behavior; sampled source confirms the key calls. Model architecture and rating calculation are represented as internal layers. The baseline notebooks and deployment workflows are outside the runtime map.
Main entry points: score_db.py Battle and ratings API · app.py Arena and UI · model_endpoints.py GPU model runner · unet_model.py Baseline model wrapper
Components 13
Arena interface
- Arena and UI
src/app.py - Validation images
- Leaderboard view
src/app.py
Model inference
- Prediction endpoint
src/model_endpoints.py - GPU model runner
src/model_endpoints.py - Baseline model wrapper
src/models/unet_model.py
Ratings service
- Battle and ratings API
src/score_db.py - Battle volume
src/score_db.py
Internal layers
- UNet architecture
src/models/unet_model_dropout.py - Elo calculation
src/rating.py
Other components
- Human judge
- Dataset host
- Model weight host
Connections 15
- Human judge → Arena and UI: rates models
README.md - Arena and UI → Dataset host: loads samples
src/app.py - Dataset host → Validation images: provides images
- Arena and UI → Prediction endpoint: requests predictions
src/app.py - Prediction endpoint → GPU model runner: dispatches inference
src/model_endpoints.py - GPU model runner → Baseline model wrapper: loads model
src/model_endpoints.py - Baseline model wrapper → UNet architecture: uses architecture
src/models/unet_model.py - GPU model runner → Model weight host: loads weights
- Arena and UI → Battle and ratings API: submits battles
src/app.py - Battle and ratings API → Battle volume: writes battles
src/score_db.py - Battle and ratings API → Battle volume: reads battles
src/score_db.py - Battle and ratings API → Elo calculation: computes ratings
src/score_db.py - Arena and UI → Leaderboard view: opens leaderboard
README.md - Leaderboard view → Battle and ratings API: fetches ratings
src/app.py - Battle and ratings API → Leaderboard view: returns ratings
README.md