File size: 4,544 Bytes
cca0606
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "schema_version": 1,
  "model": {
    "id": "transnetv2",
    "version": "1.0.0",
    "display_name": "TransNetV2",
    "task": "shot-boundary-detection",
    "description": "Shot-boundary probabilities for fixed 100-frame windows"
  },
  "license": {
    "spdx": "MIT",
    "redistribution": "allowed",
    "files": [
      {
        "path": "card/LICENSE",
        "bytes": 1072,
        "sha256": "a8d7a056688ccedebe89f18fd60f1a47128df94cb82669cd02459934919cbb6f"
      }
    ],
    "notes": [
      "The selected TransNetV2 source and upstream weights are MIT licensed."
    ]
  },
  "provenance": {
    "repository": "https://github.com/soCzech/TransNetV2",
    "revision": "85cef72af9a916bdfd7cc94a670c9cdfbf12d1ed",
    "weights": [],
    "notes": [
      "The upstream TensorFlow SavedModel was converted with the official convert_weights.py workflow.",
      "The derived PyTorch checkpoint is 30509621 bytes with SHA-256 a03191f1d886181b2d51508475761e15fd5c865ebc44494db443058cc051c918."
    ]
  },
  "release": {
    "state": "ready",
    "repository": "openvalle/valle-models"
  },
  "contract": {
    "adapter": "transnetv2-shot-detection",
    "version": 1,
    "inputs": [
      {
        "name": "frames",
        "dtype": "u8",
        "layout": "nthwc",
        "shape": [
          1,
          100,
          27,
          48,
          3
        ],
        "range": [
          0,
          255
        ],
        "description": "RGB frame window"
      }
    ],
    "outputs": [
      {
        "name": "single_frame_pred",
        "dtype": "f32",
        "layout": "nt",
        "shape": [
          1,
          100
        ],
        "range": [
          0,
          1
        ],
        "description": "Single-frame transition probability"
      },
      {
        "name": "all_frames_pred",
        "dtype": "f32",
        "layout": "nt",
        "shape": [
          1,
          100
        ],
        "range": [
          0,
          1
        ],
        "description": "All-frame transition probability"
      }
    ],
    "preprocess": {
      "color_space": "rgb",
      "resize": [
        48,
        27
      ],
      "window_frames": 100,
      "step_frames": 50
    },
    "postprocess": {
      "retain_frame_range": [
        25,
        75
      ],
      "threshold": 0.5
    }
  },
  "artifacts": [
    {
      "id": "onnx-fp32",
      "format": "onnx",
      "precision": "fp32",
      "entrypoint": "transnetv2.onnx",
      "files": [
        {
          "path": "transnetv2.onnx",
          "bytes": 31252665,
          "sha256": "9fd29bbd84ea20fa72c9340f72ddd248c7ccb2b105289683b1061eed97df28f4"
        }
      ],
      "metadata": {
        "opset": 17,
        "window_frames": 100,
        "step_frames": 50
      }
    }
  ],
  "routes": [
    {
      "id": "onnx-cpu-macos-arm64",
      "artifact": "onnx-fp32",
      "backend": "onnx-cpu",
      "platforms": [
        "macos"
      ],
      "architectures": [
        "aarch64"
      ],
      "status": "verified",
      "priority": 10,
      "notes": "TensorFlow, PyTorch, ONNX and the Rust proof-of-concept runner passed locally on Apple M2 Pro."
    },
    {
      "id": "onnx-cpu-macos-x86_64",
      "artifact": "onnx-fp32",
      "backend": "onnx-cpu",
      "platforms": [
        "macos"
      ],
      "architectures": [
        "x86_64"
      ],
      "status": "unverified",
      "priority": 10,
      "notes": "The artifact is portable, but this host route has not been tested."
    },
    {
      "id": "onnx-cpu-windows-x86_64",
      "artifact": "onnx-fp32",
      "backend": "onnx-cpu",
      "platforms": [
        "windows"
      ],
      "architectures": [
        "x86_64"
      ],
      "status": "unverified",
      "priority": 10,
      "notes": "Promote only after the real-fixture Windows CI gate passes."
    },
    {
      "id": "onnx-cpu-linux-x86_64",
      "artifact": "onnx-fp32",
      "backend": "onnx-cpu",
      "platforms": [
        "linux"
      ],
      "architectures": [
        "x86_64"
      ],
      "status": "unverified",
      "priority": 10,
      "notes": "Promote only after the real-fixture Linux CI gate passes."
    },
    {
      "id": "onnx-cpu-linux-aarch64",
      "artifact": "onnx-fp32",
      "backend": "onnx-cpu",
      "platforms": [
        "linux"
      ],
      "architectures": [
        "aarch64"
      ],
      "status": "unverified",
      "priority": 10,
      "notes": "The graph is architecture-neutral; ONNX Runtime packaging remains unverified."
    }
  ]
}