README.md 1.1 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# AstroWaveNet: A generative model for light curves.

Implementation based on "WaveNet: A Generative Model of Raw Audio":
https://arxiv.org/abs/1609.03499

## Code Authors

Alex Tamkin: [@atamkin](https://github.com/atamkin)

Chris Shallue: [@cshallue](https://github.com/cshallue)

## Pull Requests / Issues

Chris Shallue: [@cshallue](https://github.com/cshallue)

## Additional Dependencies

18
19
In addition to the [required packages](../README.md#required-packages) listed in
the top-level README, this package requires:
20

21
* **TensorFlow 1.12 or greater** ([instructions](https://www.tensorflow.org/install/))
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
* **TensorFlow Probability** ([instructions](https://www.tensorflow.org/probability/install))
* **Six** ([instructions](https://pypi.org/project/six/))

## Basic Usage

To train a model on synthetic transits:

```bash
bazel build astrowavenet/...
```

```bash
bazel-bin/astrowavenet/trainer \
--dataset=synthetic_transits \
--model_dir=/tmp/astrowavenet/ \
--config_overrides='{"hparams": {"batch_size": 16, "num_residual_blocks": 2}}' \
--schedule=train_and_eval \
--eval_steps=100 \
--save_checkpoints_steps=1000
```