forked from openvinotoolkit/open_model_zoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel.yml
49 lines (48 loc) · 1.9 KB
/
model.yml
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
# Copyright (c) 2020 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
description: >-
FaceBoxes: A CPU Real-time Face Detector with High Accuracy. For details see the
repository <https://github.com/zisianw/FaceBoxes.PyTorch>, paper <https://arxiv.org/pdf/1708.05234.pdf>
task_type: detection
files:
- name: faceboxes.py
size: 4999
sha256: dadc02f4324565999f19affcdb26456b854b6ddbcba3892262fbee18b783c874
source: https://raw.githubusercontent.com/zisianw/FaceBoxes.PyTorch/ab8478c22627690899114950cae27f8093424c95/models/faceboxes.py
- name: FaceBoxesProd.pth
size: 4072492
sha256: c0cb2b1e40710c0aa5fc32a8759b1496a0fe0a126c907ca0ffe35b4bd0709d09
source:
$type: google_drive
id: 1tRVwOlu0QtjvADQ2H7vqrRwsWEmaqioI
conversion_to_onnx_args:
- --model-path=$dl_dir
- --model-name=FaceBoxes
- --import-module=faceboxes
- --model-param=phase='test'
- --model-param=size=None
- --model-param=num_classes=2
- --weights=$dl_dir/FaceBoxesProd.pth
- --input-shape=1,3,1024,1024
- --input-names=input.1
- --output-names=boxes,scores
- --output-file=$conv_dir/faceboxes-pytorch.onnx
model_optimizer_args:
- --input_shape=[1,3,1024,1024]
- --input=input.1
- --input_model=$conv_dir/faceboxes-pytorch.onnx
- --mean_values=input.1[104.0,117.0,123.0]
- --output=boxes,scores
framework: pytorch
license: https://github.com/zisianw/FaceBoxes.PyTorch/blob/master/LICENSE