File size: 3,643 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
{
  "global_settings": {
    "coupling": 100
  },
  "nodes": [
    {
      "id": 0,
      "class_name": "MediaSourceNode",
      "pos_x": 50,
      "pos_y": 50,
      "width": 200,
      "height": 180,
      "config": {
        "source_type": "Webcam",
        "device_id": 0
      }
    },
    {
      "id": 1,
      "class_name": "FFTCochleaNode",
      "pos_x": 300,
      "pos_y": 50,
      "width": 200,
      "height": 180,
      "config": {}
    },
    {
      "id": 2,
      "class_name": "ConstantSignalNode",
      "pos_x": 300,
      "pos_y": 250,
      "width": 200,
      "height": 100,
      "config": {
        "value": 1.0,
        "node_title": "Learn Trigger (ON)"
      }
    },
    {
      "id": 3,
      "class_name": "SpectralPCANode",
      "pos_x": 550,
      "pos_y": 50,
      "width": 200,
      "height": 180,
      "config": {
        "latent_dim": 16,
        "buffer_size": 100
      }
    },
    {
      "id": 4,
      "class_name": "LatentAnnealerNode",
      "pos_x": 800,
      "pos_y": 50,
      "width": 200,
      "height": 180,
      "config": {
        "latent_dim": 16
      }
    },
    {
      "id": 5,
      "class_name": "InteractiveSignalNode",
      "pos_x": 800,
      "pos_y": 250,
      "width": 200,
      "height": 100,
      "config": {
        "zoom_factor": 0.5,
        "node_title": "Diffusion (Blur)"
      }
    },
    {
      "id": 6,
      "class_name": "InteractiveSignalNode",
      "pos_x": 800,
      "pos_y": 370,
      "width": 200,
      "height": 100,
      "config": {
        "zoom_factor": 0.01,
        "node_title": "Noise (Temperature)"
      }
    },
    {
      "id": 7,
      "class_name": "SinglePulseNode",
      "pos_x": 800,
      "pos_y": 490,
      "width": 200,
      "height": 100,
      "config": {
        "node_title": "Reset Seed (R)"
      }
    },
    {
      "id": 8,
      "class_name": "iFFTCochleaNode",
      "pos_x": 1050,
      "pos_y": 50,
      "width": 200,
      "height": 180,
      "config": {}
    },
    {
      "id": 9,
      "class_name": "ImageDisplayNode",
      "pos_x": 1300,
      "pos_y": 50,
      "width": 250,
      "height": 200,
      "config": {
        "node_title": "Evolved Concept"
      }
    }
  ],
  "edges": [
    {
      "from_node_id": 0,
      "from_port": "image",
      "to_node_id": 1,
      "to_port": "image"
    },
    {
      "from_node_id": 1,
      "from_port": "complex_spectrum",
      "to_node_id": 3,
      "to_port": "complex_spectrum"
    },
    {
      "from_node_id": 2,
      "from_port": "signal",
      "to_node_id": 3,
      "to_port": "learn"
    },
    {
      "from_node_id": 3,
      "from_port": "latent_code",
      "to_node_id": 4,
      "to_port": "latent_in"
    },
    {
      "from_node_id": 4,
      "from_port": "latent_out",
      "to_node_id": 3,
      "to_port": "pc_weights"
    },
    {
      "from_node_id": 5,
      "from_port": "signal",
      "to_node_id": 4,
      "to_port": "diffusion"
    },
    {
      "from_node_id": 6,
      "from_port": "signal",
      "to_node_id": 4,
      "to_port": "noise"
    },
    {
      "from_node_id": 7,
      "from_port": "pulse_out",
      "to_node_id": 4,
      "to_port": "reset"
    },
    {
      "from_node_id": 3,
      "from_port": "reconstructed_spectrum",
      "to_node_id": 8,
      "to_port": "complex_spectrum"
    },
    {
      "from_node_id": 8,
      "from_port": "image",
      "to_node_id": 9,
      "to_port": "image"
    }
  ]
}