pull/34/head
Vladimir Mandic 2021-01-12 10:14:33 -05:00
parent 2a329ed386
commit 2c0fe4667c
61 changed files with 204 additions and 196 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -862,7 +862,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytes": 838, "bytes": 838,
"imports": [ "imports": [
{ {
@ -895,7 +895,7 @@
"path": "src/faceFeatureExtractor/extractParams.ts" "path": "src/faceFeatureExtractor/extractParams.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMap.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -915,7 +915,7 @@
} }
] ]
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytes": 823, "bytes": 823,
"imports": [ "imports": [
{ {
@ -946,7 +946,7 @@
"path": "src/faceProcessor/extractParams.ts" "path": "src/faceProcessor/extractParams.ts"
}, },
{ {
"path": "src/faceProcessor/extractParamsFromWeigthMap.ts" "path": "src/faceProcessor/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceProcessor/util.ts" "path": "src/faceProcessor/util.ts"
@ -1091,7 +1091,7 @@
} }
] ]
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytes": 3130, "bytes": 3130,
"imports": [ "imports": [
{ {
@ -1130,7 +1130,7 @@
"path": "src/xception/extractParams.ts" "path": "src/xception/extractParams.ts"
}, },
{ {
"path": "src/xception/extractParamsFromWeigthMap.ts" "path": "src/xception/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -1142,7 +1142,7 @@
} }
] ]
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytes": 891, "bytes": 891,
"imports": [ "imports": [
{ {
@ -1173,7 +1173,7 @@
"path": "src/ageGenderNet/extractParams.ts" "path": "src/ageGenderNet/extractParams.ts"
}, },
{ {
"path": "src/ageGenderNet/extractParamsFromWeigthMap.ts" "path": "src/ageGenderNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ageGenderNet/types.ts" "path": "src/ageGenderNet/types.ts"
@ -1231,7 +1231,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytes": 802, "bytes": 802,
"imports": [ "imports": [
{ {
@ -1272,7 +1272,7 @@
"path": "src/faceFeatureExtractor/denseBlock.ts" "path": "src/faceFeatureExtractor/denseBlock.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsTiny.ts" "path": "src/faceFeatureExtractor/extractParamsTiny.ts"
@ -1337,7 +1337,7 @@
} }
] ]
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytes": 3101, "bytes": 3101,
"imports": [ "imports": [
{ {
@ -1381,7 +1381,7 @@
"path": "src/faceRecognitionNet/extractParams.ts" "path": "src/faceRecognitionNet/extractParams.ts"
}, },
{ {
"path": "src/faceRecognitionNet/extractParamsFromWeigthMap.ts" "path": "src/faceRecognitionNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceRecognitionNet/residualLayer.ts" "path": "src/faceRecognitionNet/residualLayer.ts"
@ -1452,7 +1452,7 @@
} }
] ]
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytes": 5782, "bytes": 5782,
"imports": [ "imports": [
{ {
@ -1545,7 +1545,7 @@
"path": "src/ssdMobilenetv1/extractParams.ts" "path": "src/ssdMobilenetv1/extractParams.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/extractParamsFromWeigthMap.ts" "path": "src/ssdMobilenetv1/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/mobileNetV1.ts" "path": "src/ssdMobilenetv1/mobileNetV1.ts"
@ -1637,7 +1637,7 @@
} }
] ]
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytes": 3284, "bytes": 3284,
"imports": [ "imports": [
{ {
@ -1698,7 +1698,7 @@
"path": "src/tinyYolov2/extractParams.ts" "path": "src/tinyYolov2/extractParams.ts"
}, },
{ {
"path": "src/tinyYolov2/extractParamsFromWeigthMap.ts" "path": "src/tinyYolov2/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/tinyYolov2/leaky.ts" "path": "src/tinyYolov2/leaky.ts"
@ -2494,7 +2494,7 @@
"src/faceFeatureExtractor/loadParamsFactory.ts": { "src/faceFeatureExtractor/loadParamsFactory.ts": {
"bytesInOutput": 388 "bytesInOutput": 388
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 185 "bytesInOutput": 185
}, },
"src/faceProcessor/FaceProcessor.ts": { "src/faceProcessor/FaceProcessor.ts": {
@ -2506,7 +2506,7 @@
"src/faceProcessor/extractParams.ts": { "src/faceProcessor/extractParams.ts": {
"bytesInOutput": 214 "bytesInOutput": 214
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 177 "bytesInOutput": 177
}, },
"src/faceProcessor/util.ts": { "src/faceProcessor/util.ts": {
@ -2542,13 +2542,13 @@
"src/xception/extractParams.ts": { "src/xception/extractParams.ts": {
"bytesInOutput": 1234 "bytesInOutput": 1234
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1047 "bytesInOutput": 1047
}, },
"src/ageGenderNet/extractParams.ts": { "src/ageGenderNet/extractParams.ts": {
"bytesInOutput": 258 "bytesInOutput": 258
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 209 "bytesInOutput": 209
}, },
"src/ageGenderNet/types.ts": { "src/ageGenderNet/types.ts": {
@ -2569,7 +2569,7 @@
"src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": { "src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": {
"bytesInOutput": 619 "bytesInOutput": 619
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytesInOutput": 166 "bytesInOutput": 166
}, },
"src/faceFeatureExtractor/extractParamsTiny.ts": { "src/faceFeatureExtractor/extractParamsTiny.ts": {
@ -2590,7 +2590,7 @@
"src/faceRecognitionNet/extractParams.ts": { "src/faceRecognitionNet/extractParams.ts": {
"bytesInOutput": 1803 "bytesInOutput": 1803
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1113 "bytesInOutput": 1113
}, },
"src/faceRecognitionNet/residualLayer.ts": { "src/faceRecognitionNet/residualLayer.ts": {
@ -2617,7 +2617,7 @@
"src/ssdMobilenetv1/extractParams.ts": { "src/ssdMobilenetv1/extractParams.ts": {
"bytesInOutput": 3588 "bytesInOutput": 3588
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytesInOutput": 2463 "bytesInOutput": 2463
}, },
"src/ssdMobilenetv1/mobileNetV1.ts": { "src/ssdMobilenetv1/mobileNetV1.ts": {
@ -2665,7 +2665,7 @@
"src/tinyYolov2/extractParams.ts": { "src/tinyYolov2/extractParams.ts": {
"bytesInOutput": 1290 "bytesInOutput": 1290
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytesInOutput": 972 "bytesInOutput": 972
}, },
"src/tinyYolov2/TinyYolov2Options.ts": { "src/tinyYolov2/TinyYolov2Options.ts": {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -862,7 +862,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytes": 838, "bytes": 838,
"imports": [ "imports": [
{ {
@ -895,7 +895,7 @@
"path": "src/faceFeatureExtractor/extractParams.ts" "path": "src/faceFeatureExtractor/extractParams.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMap.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -915,7 +915,7 @@
} }
] ]
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytes": 823, "bytes": 823,
"imports": [ "imports": [
{ {
@ -946,7 +946,7 @@
"path": "src/faceProcessor/extractParams.ts" "path": "src/faceProcessor/extractParams.ts"
}, },
{ {
"path": "src/faceProcessor/extractParamsFromWeigthMap.ts" "path": "src/faceProcessor/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceProcessor/util.ts" "path": "src/faceProcessor/util.ts"
@ -1091,7 +1091,7 @@
} }
] ]
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytes": 3130, "bytes": 3130,
"imports": [ "imports": [
{ {
@ -1130,7 +1130,7 @@
"path": "src/xception/extractParams.ts" "path": "src/xception/extractParams.ts"
}, },
{ {
"path": "src/xception/extractParamsFromWeigthMap.ts" "path": "src/xception/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -1142,7 +1142,7 @@
} }
] ]
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytes": 891, "bytes": 891,
"imports": [ "imports": [
{ {
@ -1173,7 +1173,7 @@
"path": "src/ageGenderNet/extractParams.ts" "path": "src/ageGenderNet/extractParams.ts"
}, },
{ {
"path": "src/ageGenderNet/extractParamsFromWeigthMap.ts" "path": "src/ageGenderNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ageGenderNet/types.ts" "path": "src/ageGenderNet/types.ts"
@ -1231,7 +1231,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytes": 802, "bytes": 802,
"imports": [ "imports": [
{ {
@ -1272,7 +1272,7 @@
"path": "src/faceFeatureExtractor/denseBlock.ts" "path": "src/faceFeatureExtractor/denseBlock.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsTiny.ts" "path": "src/faceFeatureExtractor/extractParamsTiny.ts"
@ -1337,7 +1337,7 @@
} }
] ]
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytes": 3101, "bytes": 3101,
"imports": [ "imports": [
{ {
@ -1381,7 +1381,7 @@
"path": "src/faceRecognitionNet/extractParams.ts" "path": "src/faceRecognitionNet/extractParams.ts"
}, },
{ {
"path": "src/faceRecognitionNet/extractParamsFromWeigthMap.ts" "path": "src/faceRecognitionNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceRecognitionNet/residualLayer.ts" "path": "src/faceRecognitionNet/residualLayer.ts"
@ -1452,7 +1452,7 @@
} }
] ]
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytes": 5782, "bytes": 5782,
"imports": [ "imports": [
{ {
@ -1545,7 +1545,7 @@
"path": "src/ssdMobilenetv1/extractParams.ts" "path": "src/ssdMobilenetv1/extractParams.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/extractParamsFromWeigthMap.ts" "path": "src/ssdMobilenetv1/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/mobileNetV1.ts" "path": "src/ssdMobilenetv1/mobileNetV1.ts"
@ -1637,7 +1637,7 @@
} }
] ]
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytes": 3284, "bytes": 3284,
"imports": [ "imports": [
{ {
@ -1698,7 +1698,7 @@
"path": "src/tinyYolov2/extractParams.ts" "path": "src/tinyYolov2/extractParams.ts"
}, },
{ {
"path": "src/tinyYolov2/extractParamsFromWeigthMap.ts" "path": "src/tinyYolov2/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/tinyYolov2/leaky.ts" "path": "src/tinyYolov2/leaky.ts"
@ -2485,7 +2485,7 @@
"src/faceFeatureExtractor/loadParamsFactory.ts": { "src/faceFeatureExtractor/loadParamsFactory.ts": {
"bytesInOutput": 389 "bytesInOutput": 389
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 186 "bytesInOutput": 186
}, },
"src/faceFeatureExtractor/FaceFeatureExtractor.ts": { "src/faceFeatureExtractor/FaceFeatureExtractor.ts": {
@ -2497,7 +2497,7 @@
"src/faceProcessor/extractParams.ts": { "src/faceProcessor/extractParams.ts": {
"bytesInOutput": 215 "bytesInOutput": 215
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 179 "bytesInOutput": 179
}, },
"src/faceProcessor/util.ts": { "src/faceProcessor/util.ts": {
@ -2533,7 +2533,7 @@
"src/xception/extractParams.ts": { "src/xception/extractParams.ts": {
"bytesInOutput": 1237 "bytesInOutput": 1237
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1051 "bytesInOutput": 1051
}, },
"src/xception/TinyXception.ts": { "src/xception/TinyXception.ts": {
@ -2542,7 +2542,7 @@
"src/ageGenderNet/extractParams.ts": { "src/ageGenderNet/extractParams.ts": {
"bytesInOutput": 259 "bytesInOutput": 259
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 211 "bytesInOutput": 211
}, },
"src/ageGenderNet/types.ts": { "src/ageGenderNet/types.ts": {
@ -2566,7 +2566,7 @@
"src/faceLandmarkNet/index.ts": { "src/faceLandmarkNet/index.ts": {
"bytesInOutput": 26 "bytesInOutput": 26
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytesInOutput": 167 "bytesInOutput": 167
}, },
"src/faceFeatureExtractor/extractParamsTiny.ts": { "src/faceFeatureExtractor/extractParamsTiny.ts": {
@ -2587,7 +2587,7 @@
"src/faceRecognitionNet/extractParams.ts": { "src/faceRecognitionNet/extractParams.ts": {
"bytesInOutput": 1725 "bytesInOutput": 1725
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1117 "bytesInOutput": 1117
}, },
"src/faceRecognitionNet/residualLayer.ts": { "src/faceRecognitionNet/residualLayer.ts": {
@ -2614,7 +2614,7 @@
"src/ssdMobilenetv1/extractParams.ts": { "src/ssdMobilenetv1/extractParams.ts": {
"bytesInOutput": 3495 "bytesInOutput": 3495
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytesInOutput": 2467 "bytesInOutput": 2467
}, },
"src/ssdMobilenetv1/pointwiseConvLayer.ts": { "src/ssdMobilenetv1/pointwiseConvLayer.ts": {
@ -2662,7 +2662,7 @@
"src/tinyYolov2/extractParams.ts": { "src/tinyYolov2/extractParams.ts": {
"bytesInOutput": 1237 "bytesInOutput": 1237
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytesInOutput": 976 "bytesInOutput": 976
}, },
"src/tinyYolov2/TinyYolov2Options.ts": { "src/tinyYolov2/TinyYolov2Options.ts": {

2
dist/face-api.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

48
dist/face-api.json vendored
View File

@ -862,7 +862,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytes": 838, "bytes": 838,
"imports": [ "imports": [
{ {
@ -895,7 +895,7 @@
"path": "src/faceFeatureExtractor/extractParams.ts" "path": "src/faceFeatureExtractor/extractParams.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMap.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -915,7 +915,7 @@
} }
] ]
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytes": 823, "bytes": 823,
"imports": [ "imports": [
{ {
@ -946,7 +946,7 @@
"path": "src/faceProcessor/extractParams.ts" "path": "src/faceProcessor/extractParams.ts"
}, },
{ {
"path": "src/faceProcessor/extractParamsFromWeigthMap.ts" "path": "src/faceProcessor/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceProcessor/util.ts" "path": "src/faceProcessor/util.ts"
@ -1091,7 +1091,7 @@
} }
] ]
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytes": 3130, "bytes": 3130,
"imports": [ "imports": [
{ {
@ -1130,7 +1130,7 @@
"path": "src/xception/extractParams.ts" "path": "src/xception/extractParams.ts"
}, },
{ {
"path": "src/xception/extractParamsFromWeigthMap.ts" "path": "src/xception/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -1142,7 +1142,7 @@
} }
] ]
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytes": 891, "bytes": 891,
"imports": [ "imports": [
{ {
@ -1173,7 +1173,7 @@
"path": "src/ageGenderNet/extractParams.ts" "path": "src/ageGenderNet/extractParams.ts"
}, },
{ {
"path": "src/ageGenderNet/extractParamsFromWeigthMap.ts" "path": "src/ageGenderNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ageGenderNet/types.ts" "path": "src/ageGenderNet/types.ts"
@ -1231,7 +1231,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytes": 802, "bytes": 802,
"imports": [ "imports": [
{ {
@ -1272,7 +1272,7 @@
"path": "src/faceFeatureExtractor/denseBlock.ts" "path": "src/faceFeatureExtractor/denseBlock.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsTiny.ts" "path": "src/faceFeatureExtractor/extractParamsTiny.ts"
@ -1337,7 +1337,7 @@
} }
] ]
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytes": 3101, "bytes": 3101,
"imports": [ "imports": [
{ {
@ -1381,7 +1381,7 @@
"path": "src/faceRecognitionNet/extractParams.ts" "path": "src/faceRecognitionNet/extractParams.ts"
}, },
{ {
"path": "src/faceRecognitionNet/extractParamsFromWeigthMap.ts" "path": "src/faceRecognitionNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceRecognitionNet/residualLayer.ts" "path": "src/faceRecognitionNet/residualLayer.ts"
@ -1452,7 +1452,7 @@
} }
] ]
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytes": 5782, "bytes": 5782,
"imports": [ "imports": [
{ {
@ -1545,7 +1545,7 @@
"path": "src/ssdMobilenetv1/extractParams.ts" "path": "src/ssdMobilenetv1/extractParams.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/extractParamsFromWeigthMap.ts" "path": "src/ssdMobilenetv1/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/mobileNetV1.ts" "path": "src/ssdMobilenetv1/mobileNetV1.ts"
@ -1637,7 +1637,7 @@
} }
] ]
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytes": 3284, "bytes": 3284,
"imports": [ "imports": [
{ {
@ -1698,7 +1698,7 @@
"path": "src/tinyYolov2/extractParams.ts" "path": "src/tinyYolov2/extractParams.ts"
}, },
{ {
"path": "src/tinyYolov2/extractParamsFromWeigthMap.ts" "path": "src/tinyYolov2/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/tinyYolov2/leaky.ts" "path": "src/tinyYolov2/leaky.ts"
@ -2367,7 +2367,7 @@
"src/faceFeatureExtractor/loadParamsFactory.ts": { "src/faceFeatureExtractor/loadParamsFactory.ts": {
"bytesInOutput": 389 "bytesInOutput": 389
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 186 "bytesInOutput": 186
}, },
"src/faceFeatureExtractor/FaceFeatureExtractor.ts": { "src/faceFeatureExtractor/FaceFeatureExtractor.ts": {
@ -2379,7 +2379,7 @@
"src/faceProcessor/extractParams.ts": { "src/faceProcessor/extractParams.ts": {
"bytesInOutput": 215 "bytesInOutput": 215
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 179 "bytesInOutput": 179
}, },
"src/faceProcessor/util.ts": { "src/faceProcessor/util.ts": {
@ -2415,7 +2415,7 @@
"src/xception/extractParams.ts": { "src/xception/extractParams.ts": {
"bytesInOutput": 1237 "bytesInOutput": 1237
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1051 "bytesInOutput": 1051
}, },
"src/xception/TinyXception.ts": { "src/xception/TinyXception.ts": {
@ -2424,7 +2424,7 @@
"src/ageGenderNet/extractParams.ts": { "src/ageGenderNet/extractParams.ts": {
"bytesInOutput": 259 "bytesInOutput": 259
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 211 "bytesInOutput": 211
}, },
"src/ageGenderNet/types.ts": { "src/ageGenderNet/types.ts": {
@ -2445,7 +2445,7 @@
"src/faceLandmarkNet/index.ts": { "src/faceLandmarkNet/index.ts": {
"bytesInOutput": 26 "bytesInOutput": 26
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytesInOutput": 167 "bytesInOutput": 167
}, },
"src/faceFeatureExtractor/extractParamsTiny.ts": { "src/faceFeatureExtractor/extractParamsTiny.ts": {
@ -2466,7 +2466,7 @@
"src/faceRecognitionNet/extractParams.ts": { "src/faceRecognitionNet/extractParams.ts": {
"bytesInOutput": 1725 "bytesInOutput": 1725
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1117 "bytesInOutput": 1117
}, },
"src/faceRecognitionNet/residualLayer.ts": { "src/faceRecognitionNet/residualLayer.ts": {
@ -2493,7 +2493,7 @@
"src/ssdMobilenetv1/extractParams.ts": { "src/ssdMobilenetv1/extractParams.ts": {
"bytesInOutput": 3495 "bytesInOutput": 3495
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytesInOutput": 2467 "bytesInOutput": 2467
}, },
"src/ssdMobilenetv1/pointwiseConvLayer.ts": { "src/ssdMobilenetv1/pointwiseConvLayer.ts": {
@ -2541,7 +2541,7 @@
"src/tinyYolov2/extractParams.ts": { "src/tinyYolov2/extractParams.ts": {
"bytesInOutput": 1237 "bytesInOutput": 1237
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytesInOutput": 976 "bytesInOutput": 976
}, },
"src/tinyYolov2/TinyYolov2Options.ts": { "src/tinyYolov2/TinyYolov2Options.ts": {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -862,7 +862,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytes": 838, "bytes": 838,
"imports": [ "imports": [
{ {
@ -895,7 +895,7 @@
"path": "src/faceFeatureExtractor/extractParams.ts" "path": "src/faceFeatureExtractor/extractParams.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMap.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -915,7 +915,7 @@
} }
] ]
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytes": 823, "bytes": 823,
"imports": [ "imports": [
{ {
@ -946,7 +946,7 @@
"path": "src/faceProcessor/extractParams.ts" "path": "src/faceProcessor/extractParams.ts"
}, },
{ {
"path": "src/faceProcessor/extractParamsFromWeigthMap.ts" "path": "src/faceProcessor/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceProcessor/util.ts" "path": "src/faceProcessor/util.ts"
@ -1091,7 +1091,7 @@
} }
] ]
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytes": 3130, "bytes": 3130,
"imports": [ "imports": [
{ {
@ -1130,7 +1130,7 @@
"path": "src/xception/extractParams.ts" "path": "src/xception/extractParams.ts"
}, },
{ {
"path": "src/xception/extractParamsFromWeigthMap.ts" "path": "src/xception/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -1142,7 +1142,7 @@
} }
] ]
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytes": 891, "bytes": 891,
"imports": [ "imports": [
{ {
@ -1173,7 +1173,7 @@
"path": "src/ageGenderNet/extractParams.ts" "path": "src/ageGenderNet/extractParams.ts"
}, },
{ {
"path": "src/ageGenderNet/extractParamsFromWeigthMap.ts" "path": "src/ageGenderNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ageGenderNet/types.ts" "path": "src/ageGenderNet/types.ts"
@ -1231,7 +1231,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytes": 802, "bytes": 802,
"imports": [ "imports": [
{ {
@ -1272,7 +1272,7 @@
"path": "src/faceFeatureExtractor/denseBlock.ts" "path": "src/faceFeatureExtractor/denseBlock.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsTiny.ts" "path": "src/faceFeatureExtractor/extractParamsTiny.ts"
@ -1337,7 +1337,7 @@
} }
] ]
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytes": 3101, "bytes": 3101,
"imports": [ "imports": [
{ {
@ -1381,7 +1381,7 @@
"path": "src/faceRecognitionNet/extractParams.ts" "path": "src/faceRecognitionNet/extractParams.ts"
}, },
{ {
"path": "src/faceRecognitionNet/extractParamsFromWeigthMap.ts" "path": "src/faceRecognitionNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceRecognitionNet/residualLayer.ts" "path": "src/faceRecognitionNet/residualLayer.ts"
@ -1452,7 +1452,7 @@
} }
] ]
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytes": 5782, "bytes": 5782,
"imports": [ "imports": [
{ {
@ -1545,7 +1545,7 @@
"path": "src/ssdMobilenetv1/extractParams.ts" "path": "src/ssdMobilenetv1/extractParams.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/extractParamsFromWeigthMap.ts" "path": "src/ssdMobilenetv1/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/mobileNetV1.ts" "path": "src/ssdMobilenetv1/mobileNetV1.ts"
@ -1637,7 +1637,7 @@
} }
] ]
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytes": 3284, "bytes": 3284,
"imports": [ "imports": [
{ {
@ -1698,7 +1698,7 @@
"path": "src/tinyYolov2/extractParams.ts" "path": "src/tinyYolov2/extractParams.ts"
}, },
{ {
"path": "src/tinyYolov2/extractParamsFromWeigthMap.ts" "path": "src/tinyYolov2/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/tinyYolov2/leaky.ts" "path": "src/tinyYolov2/leaky.ts"
@ -2373,7 +2373,7 @@
"src/faceFeatureExtractor/loadParamsFactory.ts": { "src/faceFeatureExtractor/loadParamsFactory.ts": {
"bytesInOutput": 388 "bytesInOutput": 388
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 185 "bytesInOutput": 185
}, },
"src/faceProcessor/FaceProcessor.ts": { "src/faceProcessor/FaceProcessor.ts": {
@ -2385,7 +2385,7 @@
"src/faceProcessor/extractParams.ts": { "src/faceProcessor/extractParams.ts": {
"bytesInOutput": 214 "bytesInOutput": 214
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 177 "bytesInOutput": 177
}, },
"src/faceProcessor/util.ts": { "src/faceProcessor/util.ts": {
@ -2421,13 +2421,13 @@
"src/xception/extractParams.ts": { "src/xception/extractParams.ts": {
"bytesInOutput": 1234 "bytesInOutput": 1234
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1047 "bytesInOutput": 1047
}, },
"src/ageGenderNet/extractParams.ts": { "src/ageGenderNet/extractParams.ts": {
"bytesInOutput": 258 "bytesInOutput": 258
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 209 "bytesInOutput": 209
}, },
"src/ageGenderNet/types.ts": { "src/ageGenderNet/types.ts": {
@ -2448,7 +2448,7 @@
"src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": { "src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": {
"bytesInOutput": 619 "bytesInOutput": 619
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytesInOutput": 166 "bytesInOutput": 166
}, },
"src/faceFeatureExtractor/extractParamsTiny.ts": { "src/faceFeatureExtractor/extractParamsTiny.ts": {
@ -2469,7 +2469,7 @@
"src/faceRecognitionNet/extractParams.ts": { "src/faceRecognitionNet/extractParams.ts": {
"bytesInOutput": 1803 "bytesInOutput": 1803
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1113 "bytesInOutput": 1113
}, },
"src/faceRecognitionNet/residualLayer.ts": { "src/faceRecognitionNet/residualLayer.ts": {
@ -2496,7 +2496,7 @@
"src/ssdMobilenetv1/extractParams.ts": { "src/ssdMobilenetv1/extractParams.ts": {
"bytesInOutput": 3588 "bytesInOutput": 3588
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytesInOutput": 2463 "bytesInOutput": 2463
}, },
"src/ssdMobilenetv1/mobileNetV1.ts": { "src/ssdMobilenetv1/mobileNetV1.ts": {
@ -2544,7 +2544,7 @@
"src/tinyYolov2/extractParams.ts": { "src/tinyYolov2/extractParams.ts": {
"bytesInOutput": 1290 "bytesInOutput": 1290
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytesInOutput": 972 "bytesInOutput": 972
}, },
"src/tinyYolov2/TinyYolov2Options.ts": { "src/tinyYolov2/TinyYolov2Options.ts": {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -862,7 +862,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytes": 838, "bytes": 838,
"imports": [ "imports": [
{ {
@ -895,7 +895,7 @@
"path": "src/faceFeatureExtractor/extractParams.ts" "path": "src/faceFeatureExtractor/extractParams.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMap.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -915,7 +915,7 @@
} }
] ]
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytes": 823, "bytes": 823,
"imports": [ "imports": [
{ {
@ -946,7 +946,7 @@
"path": "src/faceProcessor/extractParams.ts" "path": "src/faceProcessor/extractParams.ts"
}, },
{ {
"path": "src/faceProcessor/extractParamsFromWeigthMap.ts" "path": "src/faceProcessor/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceProcessor/util.ts" "path": "src/faceProcessor/util.ts"
@ -1091,7 +1091,7 @@
} }
] ]
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytes": 3130, "bytes": 3130,
"imports": [ "imports": [
{ {
@ -1130,7 +1130,7 @@
"path": "src/xception/extractParams.ts" "path": "src/xception/extractParams.ts"
}, },
{ {
"path": "src/xception/extractParamsFromWeigthMap.ts" "path": "src/xception/extractParamsFromWeightMap.ts"
} }
] ]
}, },
@ -1142,7 +1142,7 @@
} }
] ]
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytes": 891, "bytes": 891,
"imports": [ "imports": [
{ {
@ -1173,7 +1173,7 @@
"path": "src/ageGenderNet/extractParams.ts" "path": "src/ageGenderNet/extractParams.ts"
}, },
{ {
"path": "src/ageGenderNet/extractParamsFromWeigthMap.ts" "path": "src/ageGenderNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ageGenderNet/types.ts" "path": "src/ageGenderNet/types.ts"
@ -1231,7 +1231,7 @@
} }
] ]
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytes": 802, "bytes": 802,
"imports": [ "imports": [
{ {
@ -1272,7 +1272,7 @@
"path": "src/faceFeatureExtractor/denseBlock.ts" "path": "src/faceFeatureExtractor/denseBlock.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts" "path": "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts"
}, },
{ {
"path": "src/faceFeatureExtractor/extractParamsTiny.ts" "path": "src/faceFeatureExtractor/extractParamsTiny.ts"
@ -1337,7 +1337,7 @@
} }
] ]
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytes": 3101, "bytes": 3101,
"imports": [ "imports": [
{ {
@ -1381,7 +1381,7 @@
"path": "src/faceRecognitionNet/extractParams.ts" "path": "src/faceRecognitionNet/extractParams.ts"
}, },
{ {
"path": "src/faceRecognitionNet/extractParamsFromWeigthMap.ts" "path": "src/faceRecognitionNet/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/faceRecognitionNet/residualLayer.ts" "path": "src/faceRecognitionNet/residualLayer.ts"
@ -1452,7 +1452,7 @@
} }
] ]
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytes": 5782, "bytes": 5782,
"imports": [ "imports": [
{ {
@ -1545,7 +1545,7 @@
"path": "src/ssdMobilenetv1/extractParams.ts" "path": "src/ssdMobilenetv1/extractParams.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/extractParamsFromWeigthMap.ts" "path": "src/ssdMobilenetv1/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/ssdMobilenetv1/mobileNetV1.ts" "path": "src/ssdMobilenetv1/mobileNetV1.ts"
@ -1637,7 +1637,7 @@
} }
] ]
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytes": 3284, "bytes": 3284,
"imports": [ "imports": [
{ {
@ -1698,7 +1698,7 @@
"path": "src/tinyYolov2/extractParams.ts" "path": "src/tinyYolov2/extractParams.ts"
}, },
{ {
"path": "src/tinyYolov2/extractParamsFromWeigthMap.ts" "path": "src/tinyYolov2/extractParamsFromWeightMap.ts"
}, },
{ {
"path": "src/tinyYolov2/leaky.ts" "path": "src/tinyYolov2/leaky.ts"
@ -2373,7 +2373,7 @@
"src/faceFeatureExtractor/loadParamsFactory.ts": { "src/faceFeatureExtractor/loadParamsFactory.ts": {
"bytesInOutput": 388 "bytesInOutput": 388
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 185 "bytesInOutput": 185
}, },
"src/faceProcessor/FaceProcessor.ts": { "src/faceProcessor/FaceProcessor.ts": {
@ -2385,7 +2385,7 @@
"src/faceProcessor/extractParams.ts": { "src/faceProcessor/extractParams.ts": {
"bytesInOutput": 214 "bytesInOutput": 214
}, },
"src/faceProcessor/extractParamsFromWeigthMap.ts": { "src/faceProcessor/extractParamsFromWeightMap.ts": {
"bytesInOutput": 177 "bytesInOutput": 177
}, },
"src/faceProcessor/util.ts": { "src/faceProcessor/util.ts": {
@ -2421,13 +2421,13 @@
"src/xception/extractParams.ts": { "src/xception/extractParams.ts": {
"bytesInOutput": 1234 "bytesInOutput": 1234
}, },
"src/xception/extractParamsFromWeigthMap.ts": { "src/xception/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1047 "bytesInOutput": 1047
}, },
"src/ageGenderNet/extractParams.ts": { "src/ageGenderNet/extractParams.ts": {
"bytesInOutput": 258 "bytesInOutput": 258
}, },
"src/ageGenderNet/extractParamsFromWeigthMap.ts": { "src/ageGenderNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 209 "bytesInOutput": 209
}, },
"src/ageGenderNet/types.ts": { "src/ageGenderNet/types.ts": {
@ -2448,7 +2448,7 @@
"src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": { "src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": {
"bytesInOutput": 619 "bytesInOutput": 619
}, },
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": { "src/faceFeatureExtractor/extractParamsFromWeightMapTiny.ts": {
"bytesInOutput": 166 "bytesInOutput": 166
}, },
"src/faceFeatureExtractor/extractParamsTiny.ts": { "src/faceFeatureExtractor/extractParamsTiny.ts": {
@ -2469,7 +2469,7 @@
"src/faceRecognitionNet/extractParams.ts": { "src/faceRecognitionNet/extractParams.ts": {
"bytesInOutput": 1803 "bytesInOutput": 1803
}, },
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": { "src/faceRecognitionNet/extractParamsFromWeightMap.ts": {
"bytesInOutput": 1113 "bytesInOutput": 1113
}, },
"src/faceRecognitionNet/residualLayer.ts": { "src/faceRecognitionNet/residualLayer.ts": {
@ -2496,7 +2496,7 @@
"src/ssdMobilenetv1/extractParams.ts": { "src/ssdMobilenetv1/extractParams.ts": {
"bytesInOutput": 3588 "bytesInOutput": 3588
}, },
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": { "src/ssdMobilenetv1/extractParamsFromWeightMap.ts": {
"bytesInOutput": 2463 "bytesInOutput": 2463
}, },
"src/ssdMobilenetv1/mobileNetV1.ts": { "src/ssdMobilenetv1/mobileNetV1.ts": {
@ -2544,7 +2544,7 @@
"src/tinyYolov2/extractParams.ts": { "src/tinyYolov2/extractParams.ts": {
"bytesInOutput": 1290 "bytesInOutput": 1290
}, },
"src/tinyYolov2/extractParamsFromWeigthMap.ts": { "src/tinyYolov2/extractParamsFromWeightMap.ts": {
"bytesInOutput": 972 "bytesInOutput": 972
}, },
"src/tinyYolov2/TinyYolov2Options.ts": { "src/tinyYolov2/TinyYolov2Options.ts": {

0
example/sample (1).jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 141 KiB

0
example/sample (2).jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 178 KiB

0
example/sample (3).jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 216 KiB

0
example/sample (4).jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 206 KiB

After

Width:  |  Height:  |  Size: 206 KiB

0
example/sample (5).jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 162 KiB

0
example/sample (6).jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 295 KiB

After

Width:  |  Height:  |  Size: 295 KiB

0
example/screenshot.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 569 KiB

After

Width:  |  Height:  |  Size: 569 KiB

16
package-lock.json generated
View File

@ -667,7 +667,8 @@
"binary-extensions": { "binary-extensions": {
"version": "2.2.0", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
"dev": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
@ -692,6 +693,7 @@
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
"integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
"dev": true,
"requires": { "requires": {
"function-bind": "^1.1.1", "function-bind": "^1.1.1",
"get-intrinsic": "^1.0.2" "get-intrinsic": "^1.0.2"
@ -1445,7 +1447,8 @@
"function-bind": { "function-bind": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true
}, },
"functional-red-black-tree": { "functional-red-black-tree": {
"version": "1.0.1", "version": "1.0.1",
@ -1516,6 +1519,7 @@
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz",
"integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==", "integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==",
"dev": true,
"requires": { "requires": {
"function-bind": "^1.1.1", "function-bind": "^1.1.1",
"has": "^1.0.3", "has": "^1.0.3",
@ -1584,6 +1588,7 @@
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": { "requires": {
"function-bind": "^1.1.1" "function-bind": "^1.1.1"
} }
@ -1597,7 +1602,8 @@
"has-symbols": { "has-symbols": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
"dev": true
}, },
"has-unicode": { "has-unicode": {
"version": "2.0.1", "version": "2.0.1",
@ -2303,7 +2309,8 @@
"punycode": { "punycode": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
"dev": true
}, },
"rc": { "rc": {
"version": "1.2.8", "version": "1.2.8",
@ -2738,6 +2745,7 @@
"version": "4.4.1", "version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
"dev": true,
"requires": { "requires": {
"punycode": "^2.1.0" "punycode": "^2.1.0"
} }

View File

@ -117,7 +117,7 @@ export abstract class NeuralNetwork<TNetParams> {
const { const {
paramMappings, paramMappings,
params, params,
} = this.extractParamsFromWeigthMap(weightMap); } = this.extractParamsFromWeightMap(weightMap);
this._paramMappings = paramMappings; this._paramMappings = paramMappings;
this._params = params; this._params = params;
@ -158,7 +158,7 @@ export abstract class NeuralNetwork<TNetParams> {
protected abstract getDefaultModelName(): string protected abstract getDefaultModelName(): string
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
protected abstract extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { params: TNetParams, paramMappings: ParamMapping[] } protected abstract extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): { params: TNetParams, paramMappings: ParamMapping[] }
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
protected abstract extractParams(weights: Float32Array): { params: TNetParams, paramMappings: ParamMapping[] } protected abstract extractParams(weights: Float32Array): { params: TNetParams, paramMappings: ParamMapping[] }

View File

@ -4,7 +4,7 @@ import { fullyConnectedLayer } from '../common/fullyConnectedLayer';
import { seperateWeightMaps } from '../faceProcessor/util'; import { seperateWeightMaps } from '../faceProcessor/util';
import { TinyXception } from '../xception/TinyXception'; import { TinyXception } from '../xception/TinyXception';
import { extractParams } from './extractParams'; import { extractParams } from './extractParams';
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap'; import { extractParamsFromWeightMap } from './extractParamsFromWeightMap';
import { import {
AgeAndGenderPrediction, Gender, NetOutput, NetParams, AgeAndGenderPrediction, Gender, NetOutput, NetParams,
} from './types'; } from './types';
@ -102,12 +102,12 @@ export class AgeGenderNet extends NeuralNetwork<NetParams> {
return extractParams(weights); return extractParams(weights);
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap) { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap) {
const { featureExtractorMap, classifierMap } = seperateWeightMaps(weightMap); const { featureExtractorMap, classifierMap } = seperateWeightMaps(weightMap);
this.faceFeatureExtractor.loadFromWeightMap(featureExtractorMap); this.faceFeatureExtractor.loadFromWeightMap(featureExtractorMap);
return extractParamsFromWeigthMap(classifierMap); return extractParamsFromWeightMap(classifierMap);
} }
protected extractParams(weights: Float32Array) { protected extractParams(weights: Float32Array) {

View File

@ -5,7 +5,7 @@ import {
} from '../common/index'; } from '../common/index';
import { NetParams } from './types'; import { NetParams } from './types';
export function extractParamsFromWeigthMap( export function extractParamsFromWeightMap(
weightMap: tf.NamedTensorMap, weightMap: tf.NamedTensorMap,
): { params: NetParams, paramMappings: ParamMapping[] } { ): { params: NetParams, paramMappings: ParamMapping[] } {
const paramMappings: ParamMapping[] = []; const paramMappings: ParamMapping[] = [];

View File

@ -5,7 +5,7 @@ import { NeuralNetwork } from '../NeuralNetwork';
import { normalize } from '../ops/index'; import { normalize } from '../ops/index';
import { denseBlock4 } from './denseBlock'; import { denseBlock4 } from './denseBlock';
import { extractParams } from './extractParams'; import { extractParams } from './extractParams';
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap'; import { extractParamsFromWeightMap } from './extractParamsFromWeightMap';
import { FaceFeatureExtractorParams, IFaceFeatureExtractor } from './types'; import { FaceFeatureExtractorParams, IFaceFeatureExtractor } from './types';
export class FaceFeatureExtractor extends NeuralNetwork<FaceFeatureExtractorParams> implements IFaceFeatureExtractor<FaceFeatureExtractorParams> { export class FaceFeatureExtractor extends NeuralNetwork<FaceFeatureExtractorParams> implements IFaceFeatureExtractor<FaceFeatureExtractorParams> {
@ -43,8 +43,8 @@ export class FaceFeatureExtractor extends NeuralNetwork<FaceFeatureExtractorPara
return 'face_feature_extractor_model'; return 'face_feature_extractor_model';
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap) { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap) {
return extractParamsFromWeigthMap(weightMap); return extractParamsFromWeightMap(weightMap);
} }
protected extractParams(weights: Float32Array) { protected extractParams(weights: Float32Array) {

View File

@ -4,7 +4,7 @@ import { NetInput, TNetInput, toNetInput } from '../dom/index';
import { NeuralNetwork } from '../NeuralNetwork'; import { NeuralNetwork } from '../NeuralNetwork';
import { normalize } from '../ops/index'; import { normalize } from '../ops/index';
import { denseBlock3 } from './denseBlock'; import { denseBlock3 } from './denseBlock';
import { extractParamsFromWeigthMapTiny } from './extractParamsFromWeigthMapTiny'; import { extractParamsFromWeightMapTiny } from './extractParamsFromWeightMapTiny';
import { extractParamsTiny } from './extractParamsTiny'; import { extractParamsTiny } from './extractParamsTiny';
import { IFaceFeatureExtractor, TinyFaceFeatureExtractorParams } from './types'; import { IFaceFeatureExtractor, TinyFaceFeatureExtractorParams } from './types';
@ -42,8 +42,8 @@ export class TinyFaceFeatureExtractor extends NeuralNetwork<TinyFaceFeatureExtra
return 'face_feature_extractor_tiny_model'; return 'face_feature_extractor_tiny_model';
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap) { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap) {
return extractParamsFromWeigthMapTiny(weightMap); return extractParamsFromWeightMapTiny(weightMap);
} }
protected extractParams(weights: Float32Array) { protected extractParams(weights: Float32Array) {

View File

@ -4,7 +4,7 @@ import { disposeUnusedWeightTensors, ParamMapping } from '../common/index';
import { loadParamsFactory } from './loadParamsFactory'; import { loadParamsFactory } from './loadParamsFactory';
import { FaceFeatureExtractorParams } from './types'; import { FaceFeatureExtractorParams } from './types';
export function extractParamsFromWeigthMap( export function extractParamsFromWeightMap(
weightMap: tf.NamedTensorMap, weightMap: tf.NamedTensorMap,
): { params: FaceFeatureExtractorParams, paramMappings: ParamMapping[] } { ): { params: FaceFeatureExtractorParams, paramMappings: ParamMapping[] } {
const paramMappings: ParamMapping[] = []; const paramMappings: ParamMapping[] = [];

View File

@ -4,7 +4,7 @@ import { disposeUnusedWeightTensors, ParamMapping } from '../common/index';
import { loadParamsFactory } from './loadParamsFactory'; import { loadParamsFactory } from './loadParamsFactory';
import { TinyFaceFeatureExtractorParams } from './types'; import { TinyFaceFeatureExtractorParams } from './types';
export function extractParamsFromWeigthMapTiny( export function extractParamsFromWeightMapTiny(
weightMap: tf.NamedTensorMap, weightMap: tf.NamedTensorMap,
): { params: TinyFaceFeatureExtractorParams, paramMappings: ParamMapping[] } { ): { params: TinyFaceFeatureExtractorParams, paramMappings: ParamMapping[] } {
const paramMappings: ParamMapping[] = []; const paramMappings: ParamMapping[] = [];

View File

@ -9,7 +9,7 @@ import {
} from '../faceFeatureExtractor/types'; } from '../faceFeatureExtractor/types';
import { NeuralNetwork } from '../NeuralNetwork'; import { NeuralNetwork } from '../NeuralNetwork';
import { extractParams } from './extractParams'; import { extractParams } from './extractParams';
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap'; import { extractParamsFromWeightMap } from './extractParamsFromWeightMap';
import { NetParams } from './types'; import { NetParams } from './types';
import { seperateWeightMaps } from './util'; import { seperateWeightMaps } from './util';
@ -64,12 +64,12 @@ export abstract class FaceProcessor<
return extractParams(weights, this.getClassifierChannelsIn(), this.getClassifierChannelsOut()); return extractParams(weights, this.getClassifierChannelsIn(), this.getClassifierChannelsOut());
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap) { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap) {
const { featureExtractorMap, classifierMap } = seperateWeightMaps(weightMap); const { featureExtractorMap, classifierMap } = seperateWeightMaps(weightMap);
this.faceFeatureExtractor.loadFromWeightMap(featureExtractorMap); this.faceFeatureExtractor.loadFromWeightMap(featureExtractorMap);
return extractParamsFromWeigthMap(classifierMap); return extractParamsFromWeightMap(classifierMap);
} }
protected extractParams(weights: Float32Array) { protected extractParams(weights: Float32Array) {

View File

@ -5,7 +5,7 @@ import {
} from '../common/index'; } from '../common/index';
import { NetParams } from './types'; import { NetParams } from './types';
export function extractParamsFromWeigthMap( export function extractParamsFromWeightMap(
weightMap: tf.NamedTensorMap, weightMap: tf.NamedTensorMap,
): { params: NetParams, paramMappings: ParamMapping[] } { ): { params: NetParams, paramMappings: ParamMapping[] } {
const paramMappings: ParamMapping[] = []; const paramMappings: ParamMapping[] = [];

View File

@ -5,7 +5,7 @@ import { NeuralNetwork } from '../NeuralNetwork';
import { normalize } from '../ops/index'; import { normalize } from '../ops/index';
import { convDown } from './convLayer'; import { convDown } from './convLayer';
import { extractParams } from './extractParams'; import { extractParams } from './extractParams';
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap'; import { extractParamsFromWeightMap } from './extractParamsFromWeightMap';
import { residual, residualDown } from './residualLayer'; import { residual, residualDown } from './residualLayer';
import { NetParams } from './types'; import { NetParams } from './types';
@ -82,8 +82,8 @@ export class FaceRecognitionNet extends NeuralNetwork<NetParams> {
return 'face_recognition_model'; return 'face_recognition_model';
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap) { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap) {
return extractParamsFromWeigthMap(weightMap); return extractParamsFromWeightMap(weightMap);
} }
protected extractParams(weights: Float32Array) { protected extractParams(weights: Float32Array) {

View File

@ -37,7 +37,7 @@ function extractorsFactory(weightMap: any, paramMappings: ParamMapping[]) {
}; };
} }
export function extractParamsFromWeigthMap( export function extractParamsFromWeightMap(
weightMap: tf.NamedTensorMap, weightMap: tf.NamedTensorMap,
): { params: NetParams, paramMappings: ParamMapping[] } { ): { params: NetParams, paramMappings: ParamMapping[] } {
const paramMappings: ParamMapping[] = []; const paramMappings: ParamMapping[] = [];

View File

@ -5,7 +5,7 @@ import { FaceDetection } from '../classes/FaceDetection';
import { NetInput, TNetInput, toNetInput } from '../dom/index'; import { NetInput, TNetInput, toNetInput } from '../dom/index';
import { NeuralNetwork } from '../NeuralNetwork'; import { NeuralNetwork } from '../NeuralNetwork';
import { extractParams } from './extractParams'; import { extractParams } from './extractParams';
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap'; import { extractParamsFromWeightMap } from './extractParamsFromWeightMap';
import { mobileNetV1 } from './mobileNetV1'; import { mobileNetV1 } from './mobileNetV1';
import { nonMaxSuppression } from './nonMaxSuppression'; import { nonMaxSuppression } from './nonMaxSuppression';
import { outputLayer } from './outputLayer'; import { outputLayer } from './outputLayer';
@ -119,8 +119,8 @@ export class SsdMobilenetv1 extends NeuralNetwork<NetParams> {
return 'ssd_mobilenetv1_model'; return 'ssd_mobilenetv1_model';
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap) { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap) {
return extractParamsFromWeigthMap(weightMap); return extractParamsFromWeightMap(weightMap);
} }
protected extractParams(weights: Float32Array) { protected extractParams(weights: Float32Array) {

View File

@ -106,7 +106,7 @@ function extractorsFactory(weightMap: any, paramMappings: ParamMapping[]) {
}; };
} }
export function extractParamsFromWeigthMap( export function extractParamsFromWeightMap(
weightMap: tf.NamedTensorMap, weightMap: tf.NamedTensorMap,
): { params: NetParams, paramMappings: ParamMapping[] } { ): { params: NetParams, paramMappings: ParamMapping[] } {
const paramMappings: ParamMapping[] = []; const paramMappings: ParamMapping[] = [];

View File

@ -36,7 +36,7 @@ export class TinyFaceDetector extends TinyYolov2Base {
return 'tiny_face_detector_model'; return 'tiny_face_detector_model';
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { params: TinyYolov2NetParams, paramMappings: ParamMapping[] } { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): { params: TinyYolov2NetParams, paramMappings: ParamMapping[] } {
return super.extractParamsFromWeigthMap(weightMap); return super.extractParamsFromWeightMap(weightMap);
} }
} }

View File

@ -52,7 +52,7 @@ export class TinyYolov2 extends TinyYolov2Base {
return this.withSeparableConvs ? DEFAULT_MODEL_NAME_SEPARABLE_CONV : DEFAULT_MODEL_NAME; return this.withSeparableConvs ? DEFAULT_MODEL_NAME_SEPARABLE_CONV : DEFAULT_MODEL_NAME;
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { params: TinyYolov2NetParams, paramMappings: ParamMapping[] } { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): { params: TinyYolov2NetParams, paramMappings: ParamMapping[] } {
return super.extractParamsFromWeigthMap(weightMap); return super.extractParamsFromWeightMap(weightMap);
} }
} }

View File

@ -16,7 +16,7 @@ import { TinyYolov2Config, validateConfig } from './config';
import { convWithBatchNorm } from './convWithBatchNorm'; import { convWithBatchNorm } from './convWithBatchNorm';
import { depthwiseSeparableConv } from './depthwiseSeparableConv'; import { depthwiseSeparableConv } from './depthwiseSeparableConv';
import { extractParams } from './extractParams'; import { extractParams } from './extractParams';
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap'; import { extractParamsFromWeightMap } from './extractParamsFromWeightMap';
import { leaky } from './leaky'; import { leaky } from './leaky';
import { ITinyYolov2Options, TinyYolov2Options } from './TinyYolov2Options'; import { ITinyYolov2Options, TinyYolov2Options } from './TinyYolov2Options';
import { DefaultTinyYolov2NetParams, MobilenetParams, TinyYolov2NetParams } from './types'; import { DefaultTinyYolov2NetParams, MobilenetParams, TinyYolov2NetParams } from './types';
@ -154,8 +154,8 @@ export class TinyYolov2Base extends NeuralNetwork<TinyYolov2NetParams> {
return ''; return '';
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap) { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap) {
return extractParamsFromWeigthMap(weightMap, this.config); return extractParamsFromWeightMap(weightMap, this.config);
} }
protected extractParams(weights: Float32Array) { protected extractParams(weights: Float32Array) {

View File

@ -38,7 +38,7 @@ function extractorsFactory(weightMap: any, paramMappings: ParamMapping[]) {
}; };
} }
export function extractParamsFromWeigthMap( export function extractParamsFromWeightMap(
weightMap: tf.NamedTensorMap, weightMap: tf.NamedTensorMap,
config: TinyYolov2Config, config: TinyYolov2Config,
): { params: TinyYolov2NetParams, paramMappings: ParamMapping[] } { ): { params: TinyYolov2NetParams, paramMappings: ParamMapping[] } {

View File

@ -6,7 +6,7 @@ import { NeuralNetwork } from '../NeuralNetwork';
import { normalize } from '../ops/index'; import { normalize } from '../ops/index';
import { range } from '../utils/index'; import { range } from '../utils/index';
import { extractParams } from './extractParams'; import { extractParams } from './extractParams';
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap'; import { extractParamsFromWeightMap } from './extractParamsFromWeightMap';
import { MainBlockParams, ReductionBlockParams, TinyXceptionParams } from './types'; import { MainBlockParams, ReductionBlockParams, TinyXceptionParams } from './types';
function conv(x: tf.Tensor4D, params: ConvParams, stride: [number, number]): tf.Tensor4D { function conv(x: tf.Tensor4D, params: ConvParams, stride: [number, number]): tf.Tensor4D {
@ -72,8 +72,8 @@ export class TinyXception extends NeuralNetwork<TinyXceptionParams> {
return 'tiny_xception_model'; return 'tiny_xception_model';
} }
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap) { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap) {
return extractParamsFromWeigthMap(weightMap, this._numMainBlocks); return extractParamsFromWeightMap(weightMap, this._numMainBlocks);
} }
protected extractParams(weights: Float32Array) { protected extractParams(weights: Float32Array) {

View File

@ -40,7 +40,7 @@ function loadParamsFactory(weightMap: any, paramMappings: ParamMapping[]) {
}; };
} }
export function extractParamsFromWeigthMap( export function extractParamsFromWeightMap(
weightMap: tf.NamedTensorMap, weightMap: tf.NamedTensorMap,
numMainBlocks: number, numMainBlocks: number,
): { params: TinyXceptionParams, paramMappings: ParamMapping[] } { ): { params: TinyXceptionParams, paramMappings: ParamMapping[] } {

View File

@ -32,7 +32,7 @@ export declare abstract class NeuralNetwork<TNetParams> {
extractWeights(weights: Float32Array): void; extractWeights(weights: Float32Array): void;
private traversePropertyPath; private traversePropertyPath;
protected abstract getDefaultModelName(): string; protected abstract getDefaultModelName(): string;
protected abstract extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected abstract extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: TNetParams; params: TNetParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -18,7 +18,7 @@ export declare class AgeGenderNet extends NeuralNetwork<NetParams> {
params: NetParams; params: NetParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: NetParams; params: NetParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };

View File

@ -1,7 +1,7 @@
import * as tf from '../../dist/tfjs.esm'; import * as tf from '../../dist/tfjs.esm';
import { ParamMapping } from '../common/index'; import { ParamMapping } from '../common/index';
import { NetParams } from './types'; import { NetParams } from './types';
export declare function extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { export declare function extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: NetParams; params: NetParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -7,7 +7,7 @@ export declare class FaceFeatureExtractor extends NeuralNetwork<FaceFeatureExtra
forwardInput(input: NetInput): tf.Tensor4D; forwardInput(input: NetInput): tf.Tensor4D;
forward(input: TNetInput): Promise<tf.Tensor4D>; forward(input: TNetInput): Promise<tf.Tensor4D>;
protected getDefaultModelName(): string; protected getDefaultModelName(): string;
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: FaceFeatureExtractorParams; params: FaceFeatureExtractorParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };

View File

@ -7,7 +7,7 @@ export declare class TinyFaceFeatureExtractor extends NeuralNetwork<TinyFaceFeat
forwardInput(input: NetInput): tf.Tensor4D; forwardInput(input: NetInput): tf.Tensor4D;
forward(input: TNetInput): Promise<tf.Tensor4D>; forward(input: TNetInput): Promise<tf.Tensor4D>;
protected getDefaultModelName(): string; protected getDefaultModelName(): string;
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: TinyFaceFeatureExtractorParams; params: TinyFaceFeatureExtractorParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };

View File

@ -1,7 +1,7 @@
import * as tf from '../../dist/tfjs.esm'; import * as tf from '../../dist/tfjs.esm';
import { ParamMapping } from '../common/index'; import { ParamMapping } from '../common/index';
import { FaceFeatureExtractorParams } from './types'; import { FaceFeatureExtractorParams } from './types';
export declare function extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { export declare function extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: FaceFeatureExtractorParams; params: FaceFeatureExtractorParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -1,7 +1,7 @@
import * as tf from '../../dist/tfjs.esm'; import * as tf from '../../dist/tfjs.esm';
import { ParamMapping } from '../common/index'; import { ParamMapping } from '../common/index';
import { TinyFaceFeatureExtractorParams } from './types'; import { TinyFaceFeatureExtractorParams } from './types';
export declare function extractParamsFromWeigthMapTiny(weightMap: tf.NamedTensorMap): { export declare function extractParamsFromWeightMapTiny(weightMap: tf.NamedTensorMap): {
params: TinyFaceFeatureExtractorParams; params: TinyFaceFeatureExtractorParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -17,7 +17,7 @@ export declare abstract class FaceProcessor<TExtractorParams extends FaceFeature
params: NetParams; params: NetParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: NetParams; params: NetParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };

View File

@ -1,7 +1,7 @@
import * as tf from '../../dist/tfjs.esm'; import * as tf from '../../dist/tfjs.esm';
import { ParamMapping } from '../common/index'; import { ParamMapping } from '../common/index';
import { NetParams } from './types'; import { NetParams } from './types';
export declare function extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { export declare function extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: NetParams; params: NetParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -8,7 +8,7 @@ export declare class FaceRecognitionNet extends NeuralNetwork<NetParams> {
forward(input: TNetInput): Promise<tf.Tensor2D>; forward(input: TNetInput): Promise<tf.Tensor2D>;
computeFaceDescriptor(input: TNetInput): Promise<Float32Array | Float32Array[]>; computeFaceDescriptor(input: TNetInput): Promise<Float32Array | Float32Array[]>;
protected getDefaultModelName(): string; protected getDefaultModelName(): string;
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: NetParams; params: NetParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };

View File

@ -1,7 +1,7 @@
import * as tf from '../../dist/tfjs.esm'; import * as tf from '../../dist/tfjs.esm';
import { ParamMapping } from '../common/index'; import { ParamMapping } from '../common/index';
import { NetParams } from './types'; import { NetParams } from './types';
export declare function extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { export declare function extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: NetParams; params: NetParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -10,7 +10,7 @@ export declare class SsdMobilenetv1 extends NeuralNetwork<NetParams> {
forward(input: TNetInput): Promise<any>; forward(input: TNetInput): Promise<any>;
locateFaces(input: TNetInput, options?: ISsdMobilenetv1Options): Promise<FaceDetection[]>; locateFaces(input: TNetInput, options?: ISsdMobilenetv1Options): Promise<FaceDetection[]>;
protected getDefaultModelName(): string; protected getDefaultModelName(): string;
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: NetParams; params: NetParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };

View File

@ -1,7 +1,7 @@
import * as tf from '../../dist/tfjs.esm'; import * as tf from '../../dist/tfjs.esm';
import { ParamMapping } from '../common/index'; import { ParamMapping } from '../common/index';
import { NetParams } from './types'; import { NetParams } from './types';
export declare function extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { export declare function extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: NetParams; params: NetParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -10,7 +10,7 @@ export declare class TinyFaceDetector extends TinyYolov2Base {
get anchors(): Point[]; get anchors(): Point[];
locateFaces(input: TNetInput, forwardParams: ITinyYolov2Options): Promise<FaceDetection[]>; locateFaces(input: TNetInput, forwardParams: ITinyYolov2Options): Promise<FaceDetection[]>;
protected getDefaultModelName(): string; protected getDefaultModelName(): string;
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: TinyYolov2NetParams; params: TinyYolov2NetParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -11,7 +11,7 @@ export declare class TinyYolov2 extends TinyYolov2Base {
get anchors(): Point[]; get anchors(): Point[];
locateFaces(input: TNetInput, forwardParams: ITinyYolov2Options): Promise<FaceDetection[]>; locateFaces(input: TNetInput, forwardParams: ITinyYolov2Options): Promise<FaceDetection[]>;
protected getDefaultModelName(): string; protected getDefaultModelName(): string;
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: TinyYolov2NetParams; params: TinyYolov2NetParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -20,7 +20,7 @@ export declare class TinyYolov2Base extends NeuralNetwork<TinyYolov2NetParams> {
forward(input: TNetInput, inputSize: number): Promise<tf.Tensor4D>; forward(input: TNetInput, inputSize: number): Promise<tf.Tensor4D>;
detect(input: TNetInput, forwardParams?: ITinyYolov2Options): Promise<ObjectDetection[]>; detect(input: TNetInput, forwardParams?: ITinyYolov2Options): Promise<ObjectDetection[]>;
protected getDefaultModelName(): string; protected getDefaultModelName(): string;
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: TinyYolov2NetParams; params: TinyYolov2NetParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };

View File

@ -2,7 +2,7 @@ import * as tf from '../../dist/tfjs.esm';
import { ParamMapping } from '../common/types'; import { ParamMapping } from '../common/types';
import { TinyYolov2Config } from './config'; import { TinyYolov2Config } from './config';
import { TinyYolov2NetParams } from './types'; import { TinyYolov2NetParams } from './types';
export declare function extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap, config: TinyYolov2Config): { export declare function extractParamsFromWeightMap(weightMap: tf.NamedTensorMap, config: TinyYolov2Config): {
params: TinyYolov2NetParams; params: TinyYolov2NetParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };

View File

@ -8,7 +8,7 @@ export declare class TinyXception extends NeuralNetwork<TinyXceptionParams> {
forwardInput(input: NetInput): tf.Tensor4D; forwardInput(input: NetInput): tf.Tensor4D;
forward(input: TNetInput): Promise<tf.Tensor4D>; forward(input: TNetInput): Promise<tf.Tensor4D>;
protected getDefaultModelName(): string; protected getDefaultModelName(): string;
protected extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap): { protected extractParamsFromWeightMap(weightMap: tf.NamedTensorMap): {
params: TinyXceptionParams; params: TinyXceptionParams;
paramMappings: import("../common/types").ParamMapping[]; paramMappings: import("../common/types").ParamMapping[];
}; };

View File

@ -1,7 +1,7 @@
import * as tf from '../../dist/tfjs.esm'; import * as tf from '../../dist/tfjs.esm';
import { ParamMapping } from '../common/index'; import { ParamMapping } from '../common/index';
import { TinyXceptionParams } from './types'; import { TinyXceptionParams } from './types';
export declare function extractParamsFromWeigthMap(weightMap: tf.NamedTensorMap, numMainBlocks: number): { export declare function extractParamsFromWeightMap(weightMap: tf.NamedTensorMap, numMainBlocks: number): {
params: TinyXceptionParams; params: TinyXceptionParams;
paramMappings: ParamMapping[]; paramMappings: ParamMapping[];
}; };