File size: 2,013 Bytes
fc9ec86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
license: mit
pipeline_tag: other
tags:
- seismology
- geophysics
- time-series
---

# TimesNet-Gen: Deep Learning-based Site Specific Strong Motion Generation

TimesNet-Gen is a time-domain conditional generator designed for site-specific strong ground motion synthesis from accelerometer records. It employs a latent bottleneck with station identity conditioning to capture local site influences on ground motion characteristics.

- **Paper:** [TimesNet-Gen: Deep Learning-based Site Specific Strong Motion Generation](https://huggingface.co/papers/2512.04694)
- **GitHub Repository:** [brsylmz23/TimesNet-Gen](https://github.com/brsylmz23/TimesNet-Gen)
- **Demo:** [Hugging Face Space](https://huggingface.co/spaces/Barisylmz/TimesNet-Gen)

## Installation

To use the model, first clone the repository and install the required dependencies:

```bash
git clone https://github.com/brsylmz23/TimesNet-Gen.git
cd TimesNet-Gen
pip install -r requirements.txt
```

## Sample Usage

After downloading the pre-trained checkpoints (as described in the [GitHub README](https://github.com/brsylmz23/TimesNet-Gen#2-download-pre-trained-model)), you can generate samples using the provided script:

```bash
# Generate 50 samples per station for the default stations
python generate_samples.py --num_samples 50

# Generate for specific stations (e.g., station IDs 0205 and 1716)
python generate_samples.py --stations 0205 1716 --num_samples 100
```

The output includes generated waveforms in NPZ format along with HVSR curves and f₀ distribution comparisons.

## Citation

If you find this work useful, please cite:

```bibtex
@misc{yilmaz2025timesnetgendeeplearningbasedsite,
      title={TimesNet-Gen: Deep Learning-based Site Specific Strong Motion Generation}, 
      author={Baris Yilmaz and Bevan Deniz Cilgin and Erdem Akagündüz and Salih Tileylioglu},
      year={2025},
      eprint={2512.04694},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2512.04694}, 
}
```