File size: 5,026 Bytes
3bb804c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
  "global_settings": {
    "coupling": 100
  },
  "nodes": [
    {
      "id": 0,
      "class_name": "ConstantSignalNode",
      "pos_x": -372.0,
      "pos_y": 178.0,
      "width": 200.0,
      "height": 100.0,
      "config": {
        "inputs": {},
        "outputs": {
          "signal": "signal"
        },
        "input_data": {},
        "node_title": "Constant Signal",
        "value": 1.0
      }
    },
    {
      "id": 1,
      "class_name": "RealVAENode",
      "pos_x": -152.0,
      "pos_y": -39.0,
      "width": 307.0,
      "height": 319.0,
      "config": {
        "inputs": {
          "image_in": "image",
          "latent_in": "spectrum",
          "train": "signal",
          "reset": "signal"
        },
        "outputs": {
          "image_out": "image",
          "latent_out": "spectrum",
          "loss": "signal"
        },
        "node_title": "Real VAE",
        "latent_dim": 16,
        "img_size": 64,
        "current_loss": 2.667429208755493,
        "training_steps": 22301
      }
    },
    {
      "id": 2,
      "class_name": "LatentAnnealerNode",
      "pos_x": -140.0,
      "pos_y": 320.0,
      "width": 296.0,
      "height": 200.0,
      "config": {
        "inputs": {
          "latent_in": "spectrum",
          "force_in": "spectrum",
          "diffusion": "signal",
          "seed": "signal"
        },
        "outputs": {
          "latent_out": "spectrum"
        },
        "node_title": "Latent Annealer",
        "current_diffusion": 0.01,
        "current_seed": 1234
      }
    },
    {
      "id": 3,
      "class_name": "RealVAENode",
      "pos_x": 398.0,
      "pos_y": -51.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "image_in": "image",
          "latent_in": "spectrum",
          "train": "signal",
          "reset": "signal"
        },
        "outputs": {
          "image_out": "image",
          "latent_out": "spectrum",
          "loss": "signal"
        },
        "node_title": "Real VAE",
        "latent_dim": 16,
        "img_size": 64,
        "current_loss": 0.07438112795352936,
        "training_steps": 9109
      }
    },
    {
      "id": 4,
      "class_name": "ConstantSignalNode",
      "pos_x": 174.0,
      "pos_y": 151.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {},
        "outputs": {
          "signal": "signal"
        },
        "input_data": {},
        "node_title": "Constant Signal",
        "value": 1.0
      }
    },
    {
      "id": 5,
      "class_name": "LatentAnnealerNode",
      "pos_x": 389.0,
      "pos_y": 315.0,
      "width": 209.0,
      "height": 221.0,
      "config": {
        "inputs": {
          "latent_in": "spectrum",
          "force_in": "spectrum",
          "diffusion": "signal",
          "seed": "signal"
        },
        "outputs": {
          "latent_out": "spectrum"
        },
        "node_title": "Latent Annealer",
        "current_diffusion": 0.01,
        "current_seed": 1234
      }
    },
    {
      "id": 6,
      "class_name": "MediaSourceNode",
      "pos_x": -549.0,
      "pos_y": -55.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {},
        "outputs": {
          "signal": "signal",
          "image": "image"
        },
        "input_data": {},
        "node_title": "Source (Webcam)",
        "device_id": 0,
        "source_type": "Webcam",
        "w": 160,
        "h": 120,
        "sample_rate": 44100,
        "signal_output": 0.20580841503267974
      }
    }
  ],
  "edges": [
    {
      "from_node_id": 0,
      "from_port": "signal",
      "to_node_id": 1,
      "to_port": "train"
    },
    {
      "from_node_id": 1,
      "from_port": "latent_out",
      "to_node_id": 2,
      "to_port": "latent_in"
    },
    {
      "from_node_id": 2,
      "from_port": "latent_out",
      "to_node_id": 1,
      "to_port": "latent_in"
    },
    {
      "from_node_id": 4,
      "from_port": "signal",
      "to_node_id": 3,
      "to_port": "train"
    },
    {
      "from_node_id": 5,
      "from_port": "latent_out",
      "to_node_id": 2,
      "to_port": "force_in"
    },
    {
      "from_node_id": 3,
      "from_port": "latent_out",
      "to_node_id": 5,
      "to_port": "latent_in"
    },
    {
      "from_node_id": 5,
      "from_port": "latent_out",
      "to_node_id": 3,
      "to_port": "latent_in"
    },
    {
      "from_node_id": 2,
      "from_port": "latent_out",
      "to_node_id": 5,
      "to_port": "force_in"
    },
    {
      "from_node_id": 6,
      "from_port": "image",
      "to_node_id": 1,
      "to_port": "image_in"
    },
    {
      "from_node_id": 1,
      "from_port": "latent_out",
      "to_node_id": 3,
      "to_port": "latent_in"
    }
  ]
}