File size: 3,305 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
{
  "global_settings": {
    "coupling": 100
  },
  "nodes": [
    {
      "id": 0,
      "class_name": "MediaSourceNode",
      "pos_x": 43.0,
      "pos_y": 78.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.0
      }
    },
    {
      "id": 1,
      "class_name": "LatentEncoderNode",
      "pos_x": 284.0,
      "pos_y": 80.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "image_in": "image"
        },
        "outputs": {
          "latents_out": "image"
        },
        "input_data": {},
        "node_title": "Latent Encoder (Image-to-Latent)"
      }
    },
    {
      "id": 2,
      "class_name": "LatentDecoderNode",
      "pos_x": 572.0,
      "pos_y": 84.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "latents_in": "image",
          "target_image": "image",
          "train_signal": "signal"
        },
        "outputs": {
          "reconstructed": "image",
          "loss": "signal"
        },
        "input_data": {},
        "node_title": "Latent Decoder (Latent-to-Image)",
        "base_learning_rate": 0.0005,
        "current_loss": 0.0,
        "training_steps": 0
      }
    },
    {
      "id": 3,
      "class_name": "RetrocausalConstraintNode",
      "pos_x": 867.0,
      "pos_y": 98.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "state_in": "image",
          "constraint_strength": "signal",
          "noise_field": "image"
        },
        "outputs": {
          "present_state": "image",
          "constraint_violation": "signal",
          "temporal_flow": "image"
        },
        "input_data": {},
        "node_title": "Retrocausal Constraint",
        "buffer_size": 30,
        "base_constraint_strength": 0.7,
        "backward_weight": 0.5,
        "forward_weight": 0.5,
        "noise_scale": 0.2,
        "constraint_violation": 0.0
      }
    },
    {
      "id": 4,
      "class_name": "ConstantSignalNode",
      "pos_x": 175.0,
      "pos_y": 282.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {},
        "outputs": {
          "signal": "signal"
        },
        "input_data": {},
        "node_title": "Constant Signal",
        "value": 1.0
      }
    }
  ],
  "edges": [
    {
      "from_node_id": 0,
      "from_port": "image",
      "to_node_id": 1,
      "to_port": "image_in"
    },
    {
      "from_node_id": 0,
      "from_port": "image",
      "to_node_id": 2,
      "to_port": "target_image"
    },
    {
      "from_node_id": 1,
      "from_port": "latents_out",
      "to_node_id": 2,
      "to_port": "latents_in"
    },
    {
      "from_node_id": 4,
      "from_port": "signal",
      "to_node_id": 2,
      "to_port": "train_signal"
    }
  ]
}