BUILD 1.06 KB
Newer Older
1
2
3
4
5
6
"""A TensorFlow model for generative modeling of light curves."""

package(default_visibility = ["//visibility:public"])

licenses(["notice"])  # Apache 2.0

7
8
9
10
11
12
13
14
15
16
py_binary(
    name = "trainer",
    srcs = ["trainer.py"],
    srcs_version = "PY2AND3",
    deps = [
        ":astrowavenet_model",
        ":configurations",
        "//astrowavenet/data:kepler_light_curves",
        "//astrowavenet/data:synthetic_transits",
        "//astrowavenet/util:estimator_util",
17
18
19
        "//tf_util:config_util",
        "//tf_util:configdict",
        "//tf_util:estimator_runner",
20
21
22
    ],
)

23
24
25
26
27
28
29
py_library(
    name = "configurations",
    srcs = ["configurations.py"],
    srcs_version = "PY2AND3",
)

py_library(
30
    name = "astrowavenet_model",
31
    srcs = [
32
        "astrowavenet_model.py",
33
34
35
36
37
    ],
    srcs_version = "PY2AND3",
)

py_test(
38
    name = "astrowavenet_model_test",
39
40
    size = "small",
    srcs = [
41
        "astrowavenet_model_test.py",
42
43
44
    ],
    srcs_version = "PY2AND3",
    deps = [
45
        ":astrowavenet_model",
46
        ":configurations",
47
        "//tf_util:configdict",
48
49
    ],
)