File size: 5,802 Bytes
e36d0b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
{
  "schema_version": 3,
  "bundle": {
    "uuid": "ec439a1d-a65d-41fa-9d7c-47f81d07b09e",
    "revision": 2,
    "name": "pear_parameter_network",
    "files": [
      {
        "path": "assets/adapter.json"
      },
      {
        "path": "assets/pear_model.pt"
      }
    ],
    "digest": {
      "algorithm": "sha256",
      "scope": "structure",
      "value": "dd0291b4c5c6e734ac27aee60d4a0768bbd05c6109aefebfa33034b1fe095ca5"
    }
  },
  "model": {
    "interface": "tensor_model",
    "model_type": "pear_parameter_network",
    "operation": "predict_parameters",
    "inputs": [
      {
        "semantic": "pear.input",
        "dtype": "float32",
        "layout": "NCHW",
        "shape": [
          1,
          3,
          256,
          256
        ]
      }
    ],
    "outputs": [
      {
        "semantic": "smplx_pose_raw",
        "dtype": "float32",
        "shape": [
          1,
          312
        ]
      },
      {
        "semantic": "smplx_scale",
        "dtype": "float32",
        "shape": [
          1,
          6
        ]
      },
      {
        "semantic": "smplx_shape",
        "dtype": "float32",
        "shape": [
          1,
          200
        ]
      },
      {
        "semantic": "smplx_expression",
        "dtype": "float32",
        "shape": [
          1,
          50
        ]
      },
      {
        "semantic": "flame_pose",
        "dtype": "float32",
        "shape": [
          1,
          14
        ]
      },
      {
        "semantic": "flame_shape",
        "dtype": "float32",
        "shape": [
          1,
          300
        ]
      },
      {
        "semantic": "flame_expression",
        "dtype": "float32",
        "shape": [
          1,
          50
        ]
      },
      {
        "semantic": "camera_raw",
        "dtype": "float32",
        "shape": [
          1,
          3
        ]
      }
    ],
    "semantic_identity": {
      "logical_model_revision": "pear-parameter-network@handoff",
      "output_semantics": "pear-parameter-v1",
      "preprocessing_contract": "pear-rgb-crop256-bgr-imagenet-v1"
    }
  },
  "deployments": {
    "ascend_310p": {
      "uuid": "76c515a7-7460-4905-b847-562180448d06",
      "revision": 1,
      "artifacts": {
        "model": {
          "format": "om",
          "path": "artifacts/ascend_310p/pear_parameter_network_bs1.om",
          "sha256": "67798d9f1da61fba4e5b706b20acf82cf2daf030a3239f89709e655421c84e81"
        }
      },
      "bindings": {
        "model": {
          "inputs": [
            {
              "semantic": "pear.input",
              "runtime_name": "input",
              "index": 0,
              "dtype": "float32",
              "layout": "NCHW",
              "shape": [
                1,
                3,
                256,
                256
              ]
            }
          ],
          "outputs": [
            {
              "semantic": "smplx_pose_raw",
              "runtime_name": "/Concat_1:0:smplx_pose_raw",
              "index": 0,
              "dtype": "float32",
              "shape": [
                1,
                312
              ]
            },
            {
              "semantic": "smplx_scale",
              "runtime_name": "PartitionedCall_/smplx_scale_decoder/Gemm_add_2114:0:smplx_scale",
              "index": 1,
              "dtype": "float32",
              "shape": [
                1,
                6
              ]
            },
            {
              "semantic": "smplx_shape",
              "runtime_name": "PartitionedCall_/smplx_shape_decoder/Gemm_add_2119:0:smplx_shape",
              "index": 2,
              "dtype": "float32",
              "shape": [
                1,
                200
              ]
            },
            {
              "semantic": "smplx_expression",
              "runtime_name": "PartitionedCall_/smplx_expression_decoder/Gemm_add_2124:0:smplx_expression",
              "index": 3,
              "dtype": "float32",
              "shape": [
                1,
                50
              ]
            },
            {
              "semantic": "flame_pose",
              "runtime_name": "PartitionedCall_/flame_poses_decoder/Gemm_add_2129:0:flame_pose",
              "index": 4,
              "dtype": "float32",
              "shape": [
                1,
                14
              ]
            },
            {
              "semantic": "flame_shape",
              "runtime_name": "PartitionedCall_/flame_shape_decoder/Gemm_add_2134:0:flame_shape",
              "index": 5,
              "dtype": "float32",
              "shape": [
                1,
                300
              ]
            },
            {
              "semantic": "flame_expression",
              "runtime_name": "PartitionedCall_/flame_expression_decoder/Gemm_add_2139:0:flame_expression",
              "index": 6,
              "dtype": "float32",
              "shape": [
                1,
                50
              ]
            },
            {
              "semantic": "camera_raw",
              "runtime_name": "PartitionedCall_/cam_decoder/Gemm_add_2144:0:camera_raw",
              "index": 7,
              "dtype": "float32",
              "shape": [
                1,
                3
              ]
            }
          ]
        }
      },
      "execution": [
        "model"
      ],
      "execution_contract": {
        "state_scope": "request",
        "execution_structure": "direct",
        "cancellation_granularity": "request_boundary"
      },
      "runtime_profile": {
        "backend": "ascend",
        "target": {
          "runtime": "acl",
          "soc": "Ascend310P1"
        },
        "profile": {
          "device_id": 0
        }
      }
    }
  }
}