forked from onnx/tensorflow-onnx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_pretrained_models.yaml
722 lines (667 loc) · 19.1 KB
/
run_pretrained_models.yaml
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
#
# simple models for basic functional test
#
regression-graphdef:
model: models/regression/graphdef/frozen.pb
input_get: get_ramp
inputs:
"X:0": [1]
outputs:
- pred:0
regression-checkpoint:
model: models/regression/checkpoint/model.meta
model_type: checkpoint
input_get: get_ramp
inputs:
"X:0": [1]
outputs:
- pred:0
regression-saved-model:
model: models/regression/saved_model
model_type: saved_model
tag: serve
input_get: get_ramp
inputs:
"X:0": [1]
outputs:
- pred:0
saved_model_with_redundant_inputs:
disabled: true # grappler will remove the unconnected inputs - no chance to test this
model: models/saved_model_with_redundant_inputs
model_type: saved_model
input_get: get_ramp
inputs:
"X:0": [1, 10]
"Placeholder:0": [1, 10]
outputs:
- Add:0
graphdef_with_redundant_inputs:
disabled: true # grappler will remove the unconnected inputs - no chance to test this
model: models/regression/graphdef/frozen.pb
input_get: get_ramp
inputs:
"X:0": [1, 10]
"Placeholder:0": [1, 10]
outputs:
- Add:0
checkpoint_with_redundant_inputs:
disabled: true # grappler will remove the unconnected inputs - no chance to test this
model: models/regression/checkpoint/model.meta
model_type: checkpoint
input_get: get_ramp
inputs:
"X:0": [1]
"Placeholder:0": [1, 10]
outputs:
- pred:0
benchtf-fc:
model: models/fc-layers/frozen.pb
input_get: get_ramp
inputs:
"X:0": [1, 784]
outputs:
- output:0
benchtf-conv:
model: models/conv-layers/frozen.pb
input_get: get_ramp
inputs:
"X:0": [1, 784]
outputs:
- output:0
benchtf-convbn:
disabled: true # some if from training isn't removed
model: models/convbn-layers/frozen.pb
input_get: get_ramp
inputs:
"X:0": [1, 784]
outputs:
- output:0
benchtf-ae0:
model: models/ae0/frozen.pb
input_get: get_ramp
inputs:
"X:0": [1, 784]
outputs:
- output:0
benchtf-lstm:
disabled: true
model: models/lstm/frozen.pb
input_get: get_ramp
inputs:
"X:0": [1, 784]
outputs:
- output:0
benchtf-gru:
disabled: true
model: models/gru/frozen.pb
input_get: get_ramp
inputs:
"X:0": [1, 784]
"keep_prob:0": [1]
outputs:
- output:0
##
## standard image nets
##
esrgan-tf2:
# url: https://tfhub.dev/captain-pool/esrgan-tf2/1/esrgan-tf2_1.tar.gz
url: https://github.com/captain-pool/GSOC/releases/download/1.0.0/esrgan.tar.gz
model: "."
model_type: saved_model
input_get: get_beach
opset_constraints:
"onnx":
"min": 10
inputs:
"input_0:0": [1, 50, 50, 3]
outputs:
- Identity:0
rtol: 0.02
atol: 0.0005
tf_min_version: 2.1
inception_v3_slim:
url: https://storage.googleapis.com/download.tensorflow.org/models/inception_v3_2016_08_28_frozen.pb.tar.gz
model: inception_v3_2016_08_28_frozen.pb
input_get: get_beach
inputs:
"input:0": [1, 299, 299, 3]
outputs:
- InceptionV3/Predictions/Softmax:0
rtol: 0.02
atol: 0.00001
inception_v4:
disabled: true # works, keeping down to limit ci time
url: https://storage.googleapis.com/download.tensorflow.org/models/inception_v4_2016_09_09_frozen.pb.tar.gz
model: inception_v4_2016_09_09_frozen.pb
input_get: get_beach
inputs:
"input:0": [1, 299, 299, 3]
outputs:
- InceptionV4/Logits/Predictions:0
rtol: 0.02
atol: 0.00001
googlenet_v1_nonslim:
disabled: true
url: https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip
model: tensorflow_inception_graph.pb
input_get: get_beach
inputs:
"input:0": [1, 224, 224, 3]
outputs:
- softmax2:0
googlenet_resnet_v2:
url: https://storage.googleapis.com/download.tensorflow.org/models/inception_resnet_v2_2016_08_30_frozen.pb.tar.gz
model: inception_resnet_v2_2016_08_30_frozen.pb
input_get: get_beach
inputs:
"input:0": [1, 299, 299, 3]
outputs:
- InceptionResnetV2/Logits/Predictions:0
rtol: 0.05
googlenet_v1_slim:
url: https://storage.googleapis.com/download.tensorflow.org/models/inception_v1_2016_08_28_frozen.pb.tar.gz
model: inception_v1_2016_08_28_frozen.pb
input_get: get_beach
inputs:
"input:0": [1, 224, 224, 3]
outputs:
- InceptionV1/Logits/Predictions/Softmax:0
rtol: 0.05
googlenet_v2_slim:
# FIXME: fails because of 0.29% missmatch
disabled: true
url: https://storage.googleapis.com/download.tensorflow.org/models/inception_v2_2016_08_28_frozen.pb.tar.gz
model: inception_v2_2016_08_28_frozen.pb
input_get: get_beach
inputs:
"input:0": [1, 224, 224, 3]
outputs:
- InceptionV2/Predictions/Softmax:0
rtol: 0.05
atol: 0.00005
googlenet_v4_slim:
url: https://storage.googleapis.com/download.tensorflow.org/models/inception_v4_2016_09_09_frozen.pb.tar.gz
model: inception_v4_2016_09_09_frozen.pb
input_get: get_beach
inputs:
"input:0": [1, 299, 299, 3]
outputs:
- InceptionV4/Logits/Predictions:0
rtol: 0.1
mobilenet_v3_large_float:
tf_min_version: 1.14 # explicit_paddings for Conv2D
url: https://storage.googleapis.com/mobilenet_v3/checkpoints/v3-large_224_1.0_float.tgz
model: v3-large_224_1.0_float/v3-large_224_1.0_float.pb
input_get: get_beach
inputs:
"input:0": [1, 224, 224, 3]
outputs:
- MobilenetV3/Predictions/Softmax:0
mobilenet_v2_1.4_224:
url: https://storage.googleapis.com/mobilenet_v2/checkpoints/mobilenet_v2_1.4_224.tgz
model: mobilenet_v2_1.4_224_frozen.pb
input_get: get_beach
force_input_shape: true
inputs:
"input:0": [1, 224, 224, 3]
outputs:
- MobilenetV2/Predictions/Reshape_1:0
mobilenet_v1_100_224:
url: https://storage.googleapis.com/download.tensorflow.org/models/mobilenet_v1_1.0_224_frozen.tgz
model: mobilenet_v1_1.0_224/frozen_graph.pb
input_get: get_beach
inputs:
"input:0": [1, 224, 224, 3]
outputs:
- MobilenetV1/Predictions/Softmax:0
mobilenet_v1_75_192:
url: https://storage.googleapis.com/download.tensorflow.org/models/mobilenet_v1_0.75_192_frozen.tgz
model: mobilenet_v1_0.75_192/frozen_graph.pb
input_get: get_beach
inputs:
"input:0": [1, 192, 192, 3]
outputs:
- MobilenetV1/Predictions/Softmax:0
nasnet-a_mobile_224:
# has only checkpoint format
disabled: true
url: https://storage.googleapis.com/download.tensorflow.org/models/nasnet-a_mobile_04_10_2017.tar.gz
model: fixme
input_get: get_beach
inputs:
"input:0": [1, 416, 416, 3]
outputs:
- output:0
vgg-16:
# has only checkpoint format
disabled: true
url: http://download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz
model: fixme
input_get: get_beach
inputs:
"input:0": [1, 416, 416, 3]
outputs:
- output:0
resnet50_v2_nchw: # NOTE: Tensorflow 1.9.0 fails
skip_tensorflow: true # tensorflow fails: Default MaxPoolingOp only supports NHWC on device type CPU
url: http://download.tensorflow.org/models/official/20181001_resnet/savedmodels/resnet_v2_fp32_savedmodel_NCHW.tar.gz
model: resnet_v2_fp32_savedmodel_NCHW/1538687196
model_type: saved_model
tag: serve
input_get: get_beach
inputs:
"input_tensor:0": [64, 224, 224, 3]
outputs:
- ArgMax:0
- softmax_tensor:0
resnet50_v2_nhwc:
url: http://download.tensorflow.org/models/official/20181001_resnet/savedmodels/resnet_v2_fp32_savedmodel_NHWC.tar.gz
model: resnet_v2_fp32_savedmodel_NHWC/1538687283
model_type: saved_model
tag: serve
input_get: get_beach
inputs:
"input_tensor:0": [64, 224, 224, 3]
outputs:
- ArgMax:0
- softmax_tensor:0
resnet50_fp16_v2:
disabled: true # FIXME: need to handle float16 constants
model_type: saved_model
url: http://download.tensorflow.org/models/official/20181001_resnet/savedmodels/resnet_v2_fp16_savedmodel_NHWC.tar.gz
model: resnet_v2_fp16_savedmodel_NHWC/1538686978
input_get: get_beach
inputs:
"input_tensor:0": [64, 224, 224, 3]
outputs:
- ArgMax:0
- softmax_tensor:0
resnet50_v1:
disabled: true # works, disabled because its nearly the same as resnet50_v2_nchw
skip_tensorflow: true # tensorflow fails: Default MaxPoolingOp only supports NHWC on device type CPU
model_type: saved_model
url: http://download.tensorflow.org/models/official/20180601_resnet_v1_imagenet_savedmodel.tar.gz
model: 20180601_resnet_v1_imagenet_savedmodel/1527888778
input_get: get_beach
inputs:
"input_tensor:0": [128, 224, 224, 3]
outputs:
- ArgMax:0
- softmax_tensor:0
ssd_mobilenet_v3_large_coco:
tf_min_version: 2.2
url: http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v3_large_coco_2019_08_14.tar.gz
model: ssd_mobilenet_v3_large_coco_2019_08_14/frozen_inference_graph.pb
opset_constraints:
"onnx":
"min": 10
"max": 15
input_get: get_beach
inputs:
"normalized_input_image_tensor:0": [1, 320, 320, 3]
outputs:
- raw_outputs/box_encodings:0
- raw_outputs/class_predictions:0
ssd_mobilenet_v1_coco:
url: http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_coco_2017_11_17.tar.gz
model: ssd_mobilenet_v1_coco_2017_11_17/frozen_inference_graph.pb
opset_constraints:
"onnx":
"min": 10
input_get: get_beach
inputs:
"image_tensor:0": [1, 224, 224, 3]
outputs:
- detection_boxes:0
- detection_scores:0
- num_detections:0
- detection_classes:0
ssd_mobilenet_v2_coco:
# works with opset-10
disabled: true # works, keeping down to limit ci time
url: http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v2_coco_2018_03_29.tar.gz
model: ssd_mobilenet_v2_coco_2018_03_29/frozen_inference_graph.pb
opset_constraints:
"onnx":
"min": 10
input_get: get_beach
inputs:
"image_tensor:0": [1, 224, 224, 3]
outputs:
- detection_boxes:0
- detection_scores:0
- num_detections:0
- detection_classes:0
ssdlite_mobilenet_v2_coco:
# works with opset-10
disabled: true # works, keeping down to limit ci time
url: http://download.tensorflow.org/models/object_detection/ssdlite_mobilenet_v2_coco_2018_05_09.tar.gz
model: ssdlite_mobilenet_v2_coco_2018_05_09/frozen_inference_graph.pb
opset_constraints:
"onnx":
"min": 10
input_get: get_beach
inputs:
"image_tensor:0": [1, 224, 224, 3]
outputs:
- detection_boxes:0
- detection_scores:0
- num_detections:0
- detection_classes:0
ssd_inception_v2_coco:
disabled: true # works, keeping down to limit ci time
url: http://download.tensorflow.org/models/object_detection/ssd_inception_v2_coco_2017_11_17.tar.gz
model: ssd_inception_v2_coco_2017_11_17/frozen_inference_graph.pb
opset_constraints:
"onnx":
"min": 10
input_get: get_beach
inputs:
"image_tensor:0": [1, 224, 224, 3]
outputs:
- detection_boxes:0
- detection_scores:0
- num_detections:0
- detection_classes:0
faster_rcnn_resnet101:
disabled: true # works, keeping down to limit ci time
url: http://download.tensorflow.org/models/object_detection/faster_rcnn_resnet101_coco_2018_01_28.tar.gz
model: faster_rcnn_resnet101_coco_2018_01_28/frozen_inference_graph.pb
opset_constraints:
"onnx":
"min": 11
input_get: get_beach
inputs:
"image_tensor:0": [1, 224, 224, 3]
outputs:
- detection_boxes:0
- detection_classes:0
- detection_scores:0
- num_detections:0
faster_rcnn_inception_v2_coco:
url: http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_v2_coco_2018_01_28.tar.gz
model: faster_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb
opset_constraints:
"onnx":
"min": 11
"max": 15
input_get: get_beach
inputs:
"image_tensor:0": [1, 224, 224, 3]
outputs:
- detection_boxes:0
- detection_classes:0
- detection_scores:0
- num_detections:0
keras_resnet50:
tf_min_version: 2.2
disabled: false
url: module://tensorflow.keras.applications.resnet50/ResNet50
model: ResNet50
model_type: keras
input_get: get_ramp
inputs:
"input_1:0": [1, 224, 224, 3]
outputs:
- Identity:0
keras_mobilenet_v2:
tf_min_version: 2.2
disabled: false
url: module://tensorflow.keras.applications.mobilenet_v2/MobileNetV2
model: MobileNetV2
model_type: keras
input_get: get_ramp
inputs:
"input_1:0": [1, 224, 224, 3]
outputs:
- Identity:0
ssd_mobilenet_v2_300_float_tflite:
tf_min_version: 2.1
disabled: false
url: https://github.com/mlcommons/mobile_models/raw/main/v0_7/tflite/ssd_mobilenet_v2_300_float.tflite
model: "ssd_mobilenet_v2_300_float.tflite"
model_type: tflite
input_get: get_car
opset_constraints:
"onnx":
"min": 11
inputs:
"normalized_input_image_tensor": [1, 300, 300, 3]
outputs:
- TFLite_Detection_PostProcess
- TFLite_Detection_PostProcess:1
- TFLite_Detection_PostProcess:2
- TFLite_Detection_PostProcess:3
deeplabv3_mnv2_ade20k_float_tflite:
tf_min_version: 2.1
disabled: false
url: https://github.com/mlcommons/mobile_models/raw/main/v0_7/tflite/deeplabv3_mnv2_ade20k_float.tflite
model: "deeplabv3_mnv2_ade20k_float.tflite"
model_type: tflite
input_get: get_ade20k
ptol: 0.001
inputs:
"MobilenetV2/MobilenetV2/input": [1, 512, 512, 3]
outputs:
- ArgMax
deeplabv3_mnv2_ade20k_uint8_tflite_dequantize:
tf_min_version: 2.1
disabled: false
url: https://github.com/mlcommons/mobile_models/raw/main/v0_7/tflite/deeplabv3_mnv2_ade20k_uint8.tflite
model: "deeplabv3_mnv2_ade20k_uint8.tflite"
model_type: tflite
input_get: get_ade20k_uint8
ptol: 1.0
dequantize: true
inputs:
"MobilenetV2/MobilenetV2/input": [1, 512, 512, 3]
outputs:
- ArgMax
deeplabv3_mnv2_ade20k_uint8_tflite:
tf_min_version: 2.1
disabled: true # Requires ORT nightly for dequantize of int32
url: https://github.com/mlcommons/mobile_models/raw/main/v0_7/tflite/deeplabv3_mnv2_ade20k_uint8.tflite
model: "deeplabv3_mnv2_ade20k_uint8.tflite"
model_type: tflite
input_get: get_ade20k_uint8
opset_constraints:
"onnx":
"min": 10
ptol: 1.5
dequantize: false
inputs:
"MobilenetV2/MobilenetV2/input": [1, 512, 512, 3]
outputs:
- ArgMax
deeplabv3_mnv2_ade20k_int8_tflite_dequantize:
tf_min_version: 2.1
disabled: false
url: https://github.com/mlcommons/mobile_models/raw/main/v0_7/tflite/deeplabv3_mnv2_ade20k_int8.tflite
model: "deeplabv3_mnv2_ade20k_int8.tflite"
model_type: tflite
input_get: get_ade20k_uint8 # the input is uint8 despite the model name
ptol: 3.0
dequantize: true
inputs:
"MobilenetV2/MobilenetV2/input": [1, 512, 512, 3]
outputs:
- ArgMax
deeplabv3_mnv2_ade20k_int8_tflite:
tf_min_version: 2.1
disabled: true # Requires ORT nightly for dequantize of int32
url: https://github.com/mlcommons/mobile_models/raw/main/v0_7/tflite/deeplabv3_mnv2_ade20k_int8.tflite
model: "deeplabv3_mnv2_ade20k_int8.tflite"
model_type: tflite
input_get: get_ade20k_uint8 # the input is uint8 despite the model name
opset_constraints:
"onnx":
"min": 13
ptol: 1.9
dequantize: false
inputs:
"MobilenetV2/MobilenetV2/input": [1, 512, 512, 3]
outputs:
- ArgMax
mobilebert_tflite:
tf_min_version: 2.1
disabled: true # Converts but produces incorrect results. Working on fixing it.
url: https://tfhub.dev/tensorflow/lite-model/mobilebert/1/metadata/1?lite-format=tflite
model: "lite-model_mobilebert_1_metadata_1.tflite"
model_type: tflite
input_get: get_ones_int32
dequantize: true
inputs:
"input_ids": [1, 384]
"input_mask":
shape: [1, 384]
input_get: get_ones_int32
"segment_ids":
shape: [1, 384]
input_get: get_zeros_then_ones
outputs:
- end_logits
- start_logits
palm_detection_tflite:
tf_min_version: 2.1
disabled: false
url: https://github.com/google/mediapipe/raw/master/mediapipe/modules/palm_detection/palm_detection.tflite
model: "palm_detection.tflite"
model_type: tflite
input_get: get_beach
opset_constraints:
"onnx":
"min": 11 # Resize node
dequantize: true
inputs:
"input": [1, 128, 128, 3]
outputs:
- regressors
- classificators
rtol: 0.02
atol: 0.0005
melgan_tflite: # TFLite model with FlexOps and rank-3 transposes
tf_min_version: 2.1
disabled: false
url: https://tfhub.dev/tulasiram58827/lite-model/melgan/dr/1?lite-format=tflite
model: "melgan.tflite"
model_type: tflite
input_get: get_zeros
opset_constraints:
"onnx":
"min": 11
dequantize: true
inputs:
"mels": [1, 100, 80]
outputs:
- Identity
rtol: 0.02
atol: 0.0005
handdetector_tfjs:
tf_min_version: 2.1
disabled: false
url: https://tfhub.dev/tensorflow/tfjs-model/handdetector/1/default/1?tfjs-format=compressed
model: "model.json"
model_type: tfjs
input_get: get_beach
inputs:
"input:0": [1, 256, 256, 3]
outputs:
- Identity:0
atol: 0.0005
posenet_mobilenet_float_100_tfjs:
tf_min_version: 2.1
disabled: false
url: https://tfhub.dev/tensorflow/tfjs-model/posenet/mobilenet/float/100/1/default/1?tfjs-format=compressed
model: "model-stride8.json"
model_type: tfjs
input_get: get_beach
force_input_shape: True # ORT doesn't implement autopadding for convs with dilations
inputs:
"sub_2:0": [1, 256, 256, 3]
outputs:
- MobilenetV1/offset_2/BiasAdd:0
- MobilenetV1/heatmap_2/BiasAdd:0
- MobilenetV1/displacement_fwd_2/BiasAdd:0
- MobilenetV1/displacement_bwd_2/BiasAdd:0
rtol: 0.02
atol: 0.0005
posenet_mobilenet_quantized_2_075_tfjs:
tf_min_version: 2.1
disabled: false
url: https://tfhub.dev/tensorflow/tfjs-model/posenet/mobilenet/quantized/2/075/1/default/1?tfjs-format=compressed
model: "model-stride16.json"
model_type: tfjs
input_get: get_beach
force_input_shape: True # ORT doesn't implement autopadding for convs with dilations
inputs:
"sub_2:0": [1, 256, 256, 3]
outputs:
- MobilenetV1/offset_2/BiasAdd:0
- MobilenetV1/heatmap_2/BiasAdd:0
- MobilenetV1/displacement_fwd_2/BiasAdd:0
- MobilenetV1/displacement_bwd_2/BiasAdd:0
rtol: 0.1
ptol: 0.2
atol: 0.005
blazeposedetector_tfjs:
tf_min_version: 2.1
disabled: false
url: https://tfhub.dev/mediapipe/tfjs-model/blazeposedetector/1/default/1?tfjs-format=compressed
model: "model.json"
opset_constraints:
"onnx":
"min": 10
model_type: tfjs
input_get: get_beach
#force_input_shape: True # ORT doesn't implement autopadding for convs with dilations
inputs:
"input:0": [1, 224, 224, 3]
outputs:
- Identity:0
rtol: 0.05
atol: 0.0005
facemesh_tfjs:
tf_min_version: 2.1
disabled: false
url: https://tfhub.dev/mediapipe/tfjs-model/facemesh/1/default/1?tfjs-format=compressed
model: "model.json"
model_type: tfjs
input_get: get_beach
inputs:
"input_1:0": [1, 192, 192, 3]
outputs:
- Identity:0
- Identity_1:0
- Identity_2:0
rtol: 0.05
atol: 0.0005
ssd_mobilenet_v1_tfjs:
tf_min_version: 2.1
disabled: false
url: https://tfhub.dev/tensorflow/tfjs-model/ssd_mobilenet_v1/1/default/1?tfjs-format=compressed
model: "model.json"
opset_constraints:
"onnx":
"min": 9
model_type: tfjs
input_get: get_beach_uint8
inputs:
"image_tensor:0": [1, 200, 200, 3]
outputs:
- Postprocessor/Slice:0
- Postprocessor/ExpandDims_1:0
rtol: 0.05
atol: 0.0005
#
# models that will not work
#
style-transfer:
# quantitized model
disabled: true
url: https://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip
model: stylize_quantized.pb
input_get: get_beach
inputs:
"input:0": [1, 416, 416, 3]
outputs:
- output:0