Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- seismic
|
| 5 |
+
- earthquake
|
| 6 |
+
- phase-picking
|
| 7 |
+
- deep-learning
|
| 8 |
+
- pytorch
|
| 9 |
+
license: mit
|
| 10 |
+
datasets:
|
| 11 |
+
- PS_Alaska
|
| 12 |
+
metrics:
|
| 13 |
+
- f1-score
|
| 14 |
+
- precision
|
| 15 |
+
- recall
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# PhaseNet-TF Alaska: Advanced Seismic Arrival Time Detection
|
| 19 |
+
|
| 20 |
+
## Model Description
|
| 21 |
+
|
| 22 |
+
PhaseNet-TF is an advanced deep learning model for automatic seismic phase picking (P-wave, S-wave, and PS-wave detection) using spectrogram-based image segmentation approaches. The model leverages DeepLabV3Plus architecture to detect seismic arrivals with high accuracy, especially for weak and noisy signals from ocean-bottom seismometers and weak phases such as slab interface refracted PS and SP waves. This Alaska version is specifically trained on the PS_Alaska dataset for P and S phases.
|
| 23 |
+
|
| 24 |
+
## Available Versions
|
| 25 |
+
|
| 26 |
+
This repository contains two versions of the PhaseNet-TF Alaska model:
|
| 27 |
+
|
| 28 |
+
### 🔄 Iteration 1
|
| 29 |
+
- **Model File**: `pytorch_model_iter1.bin`
|
| 30 |
+
- **Config**: `config_iter1.json`
|
| 31 |
+
- **Documentation**: [README_iter1.md](README_iter1.md)
|
| 32 |
+
|
| 33 |
+
### 🔄 Iteration 2
|
| 34 |
+
- **Model File**: `pytorch_model_iter2.bin`
|
| 35 |
+
- **Config**: `config_iter2.json`
|
| 36 |
+
- **Documentation**: [README_iter2.md](README_iter2.md)
|
| 37 |
+
|
| 38 |
+
## Quick Start
|
| 39 |
+
|
| 40 |
+
### Load Iteration 1
|
| 41 |
+
```python
|
| 42 |
+
import torch
|
| 43 |
+
checkpoint = torch.load("pytorch_model_iter1.bin", map_location="cpu")
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
### Load Iteration 2
|
| 47 |
+
```python
|
| 48 |
+
import torch
|
| 49 |
+
checkpoint = torch.load("pytorch_model_iter2.bin", map_location="cpu")
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
## Model Architecture
|
| 53 |
+
|
| 54 |
+
- **Backbone**: DeepLabV3Plus with ResNet34 encoder
|
| 55 |
+
- **Input**: 3-component seismic waveforms converted to 6-channel spectrograms (real + imaginary)
|
| 56 |
+
- **Output**: Probability maps for P, S, PS phases and noise
|
| 57 |
+
- **Sampling Rate**: 40 Hz (dt_s = 0.025s)
|
| 58 |
+
- **Window Length**: 4800 points (120 seconds)
|
| 59 |
+
- **Spectrogram Size**: 64 × 4800 (frequency × time)
|
| 60 |
+
- **Input Channels**: 6 (3 real + 3 imaginary spectrogram channels)
|
| 61 |
+
- **Output Classes**: 4 (noise, P, S, PS)
|
| 62 |
+
|
| 63 |
+
## Citation
|
| 64 |
+
|
| 65 |
+
If you use this model in your research, please cite:
|
| 66 |
+
|
| 67 |
+
```bibtex
|
| 68 |
+
@article{jie2025background,
|
| 69 |
+
title={Background Seismicity and Aftershocks of the 2020-2021 Large Earthquakes at the Alaska Peninsula Revealed by a Deep-learning-based Catalog},
|
| 70 |
+
author={Jie, Yaqi and Wei, Songqiao Shawn and Zhu, Weiqiang and Freymueller, Jeffrey Todd and Elliott, Julie},
|
| 71 |
+
journal={Authorea Preprints},
|
| 72 |
+
year={2025},
|
| 73 |
+
publisher={Authorea}
|
| 74 |
+
}
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## License
|
| 78 |
+
|
| 79 |
+
This model is licensed under the MIT License.
|