update to tfjs 3.2.0

pull/75/head
Vladimir Mandic 2021-02-25 07:50:13 -05:00
parent a60038ac11
commit 577c9ed389
24 changed files with 2043 additions and 2043 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

Binary file not shown.

View File

@ -36,7 +36,7 @@ const ui = {
facing: true,
useWorker: false,
worker: 'worker.js',
samples: ['../assets/sample6.jpg', '../assets/sample1.jpg', '../assets/sample4.jpg', '../assets/sample5.jpg', '../assets/sample3.jpg', '../assets/sample2.jpg', '../assets/sample7.jpg', '../assets/sample8.jpg'],
samples: ['../assets/sample6.jpg', '../assets/sample1.jpg', '../assets/sample4.jpg', '../assets/sample5.jpg', '../assets/sample3.jpg', '../assets/sample2.jpg'],
compare: '../assets/sample-me.jpg',
drawBoxes: true,
drawPoints: false,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"inputs": {
"dist/human.esm.js": {
"bytes": 1347011,
"bytes": 1339029,
"imports": []
},
"demo/draw.js": {
@ -43,7 +43,7 @@
"imports": [],
"exports": [],
"inputs": {},
"bytes": 2055789
"bytes": 2037989
},
"dist/demo-browser-index.js": {
"imports": [],
@ -51,7 +51,7 @@
"entryPoint": "demo/browser.js",
"inputs": {
"dist/human.esm.js": {
"bytesInOutput": 1339535
"bytesInOutput": 1331553
},
"demo/draw.js": {
"bytesInOutput": 6241
@ -66,7 +66,7 @@
"bytesInOutput": 17389
}
},
"bytes": 1388005
"bytes": 1380023
}
}
}

File diff suppressed because one or more lines are too long

1076
dist/human.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

10
dist/human.esm.json vendored
View File

@ -5,7 +5,7 @@
"imports": []
},
"dist/tfjs.esm.js": {
"bytes": 1073613,
"bytes": 1065627,
"imports": []
},
"src/tfjs/backend.ts": {
@ -499,7 +499,7 @@
"imports": [],
"exports": [],
"inputs": {},
"bytes": 1957830
"bytes": 1940029
},
"dist/human.esm.js": {
"imports": [],
@ -518,7 +518,7 @@
"bytesInOutput": 252
},
"dist/tfjs.esm.js": {
"bytesInOutput": 1064610
"bytesInOutput": 1056626
},
"src/tfjs/backend.ts": {
"bytesInOutput": 1053
@ -536,7 +536,7 @@
"bytesInOutput": 28983
},
"src/blazeface/facepipeline.ts": {
"bytesInOutput": 5040
"bytesInOutput": 5042
},
"src/human.ts": {
"bytesInOutput": 10347
@ -623,7 +623,7 @@
"bytesInOutput": 2573
}
},
"bytes": 1347011
"bytes": 1339029
}
}
}

10
dist/human.iife.json vendored
View File

@ -5,7 +5,7 @@
"imports": []
},
"dist/tfjs.esm.js": {
"bytes": 1073613,
"bytes": 1065627,
"imports": []
},
"src/tfjs/backend.ts": {
@ -499,7 +499,7 @@
"imports": [],
"exports": [],
"inputs": {},
"bytes": 1957841
"bytes": 1940040
},
"dist/human.ts": {
"imports": [],
@ -519,7 +519,7 @@
"bytesInOutput": 252
},
"dist/tfjs.esm.js": {
"bytesInOutput": 1064610
"bytesInOutput": 1056626
},
"src/tfjs/backend.ts": {
"bytesInOutput": 1053
@ -537,7 +537,7 @@
"bytesInOutput": 28983
},
"src/blazeface/facepipeline.ts": {
"bytesInOutput": 5040
"bytesInOutput": 5042
},
"src/faceboxes/faceboxes.ts": {
"bytesInOutput": 1549
@ -621,7 +621,7 @@
"bytesInOutput": 2573
}
},
"bytes": 1347053
"bytes": 1339071
}
}
}

File diff suppressed because one or more lines are too long

2
dist/human.node.js vendored

File diff suppressed because one or more lines are too long

1076
dist/human.ts vendored

File diff suppressed because one or more lines are too long

4
dist/human.ts.map vendored

File diff suppressed because one or more lines are too long

638
dist/tfjs.esm.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/tfjs.esm.json vendored
View File

@ -25,7 +25,7 @@
"imports": []
},
"node_modules/@tensorflow/tfjs-core/dist/util_base.js": {
"bytes": 20096,
"bytes": 20100,
"imports": []
},
"node_modules/@tensorflow/tfjs-core/dist/environment.js": {
@ -76,7 +76,7 @@
]
},
"node_modules/@tensorflow/tfjs-core/dist/profiler.js": {
"bytes": 4460,
"bytes": 4499,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs-core/dist/environment.js",
@ -793,7 +793,7 @@
]
},
"node_modules/@tensorflow/tfjs-core/dist/ops/browser.js": {
"bytes": 8954,
"bytes": 9105,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js",
@ -11907,7 +11907,7 @@
]
},
"node_modules/@tensorflow/tfjs-backend-webgl/dist/flags_webgl.js": {
"bytes": 6399,
"bytes": 7125,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js",
@ -12177,7 +12177,7 @@
]
},
"node_modules/@tensorflow/tfjs-backend-webgl/dist/backend_webgl.js": {
"bytes": 37906,
"bytes": 38346,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs-backend-webgl/dist/flags_webgl.js",
@ -16428,7 +16428,7 @@
]
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Concat.js": {
"bytes": 4118,
"bytes": 4180,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js",
@ -16945,7 +16945,7 @@
]
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Pack.js": {
"bytes": 1697,
"bytes": 1947,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js",
@ -17748,7 +17748,7 @@
"imports": []
},
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.js": {
"bytes": 74296,
"bytes": 64769,
"imports": [
{
"path": "(disabled):path",
@ -17773,11 +17773,11 @@
]
},
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.worker.js": {
"bytes": 3441,
"bytes": 3172,
"imports": []
},
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm.js": {
"bytes": 28635,
"bytes": 26723,
"imports": [
{
"path": "(disabled):path",
@ -17790,7 +17790,7 @@
]
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/backend_wasm.js": {
"bytes": 14751,
"bytes": 14972,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/flags_wasm.js",
@ -25495,7 +25495,7 @@
"imports": [],
"exports": [],
"inputs": {},
"bytes": 1241171
"bytes": 1223333
},
"dist/tfjs.esm.js": {
"imports": [],
@ -26040,10 +26040,10 @@
"bytesInOutput": 18
},
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.js": {
"bytesInOutput": 45664
"bytesInOutput": 39230
},
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm.js": {
"bytesInOutput": 18153
"bytesInOutput": 16473
},
"node_modules/seedrandom/lib/alea.js": {
"bytesInOutput": 992
@ -26091,7 +26091,7 @@
"bytesInOutput": 1032
},
"node_modules/@tensorflow/tfjs-core/dist/util_base.js": {
"bytesInOutput": 6291
"bytesInOutput": 6295
},
"node_modules/@tensorflow/tfjs-core/dist/environment.js": {
"bytesInOutput": 2118
@ -26109,7 +26109,7 @@
"bytesInOutput": 1966
},
"node_modules/@tensorflow/tfjs-core/dist/profiler.js": {
"bytesInOutput": 1324
"bytesInOutput": 1335
},
"node_modules/@tensorflow/tfjs-core/dist/tape.js": {
"bytesInOutput": 1538
@ -27567,7 +27567,7 @@
"bytesInOutput": 1292
},
"node_modules/@tensorflow/tfjs-backend-webgl/dist/flags_webgl.js": {
"bytesInOutput": 2228
"bytesInOutput": 2409
},
"node_modules/@tensorflow/tfjs-backend-webgl/dist/glsl_version.js": {
"bytesInOutput": 1626
@ -27630,7 +27630,7 @@
"bytesInOutput": 388
},
"node_modules/@tensorflow/tfjs-backend-webgl/dist/backend_webgl.js": {
"bytesInOutput": 14364
"bytesInOutput": 14521
},
"node_modules/@tensorflow/tfjs-backend-webgl/dist/version.js": {
"bytesInOutput": 15
@ -28389,7 +28389,7 @@
"bytesInOutput": 360
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Concat.js": {
"bytesInOutput": 1127
"bytesInOutput": 1165
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Conv2D.js": {
"bytesInOutput": 1093
@ -28515,7 +28515,7 @@
"bytesInOutput": 174
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Pack.js": {
"bytesInOutput": 514
"bytesInOutput": 588
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/PadV2.js": {
"bytesInOutput": 613
@ -28620,10 +28620,10 @@
"bytesInOutput": 484
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/backend_wasm.js": {
"bytesInOutput": 4763
"bytesInOutput": 4747
},
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.worker.js": {
"bytesInOutput": 3414
"bytesInOutput": 3145
},
"node_modules/@tensorflow/tfjs-backend-wasm/dist/version.js": {
"bytesInOutput": 15
@ -29406,7 +29406,7 @@
"bytesInOutput": 6267
},
"node_modules/@tensorflow/tfjs-layers/dist/exports_layers.js": {
"bytesInOutput": 3594
"bytesInOutput": 3542
},
"node_modules/@tensorflow/tfjs-layers/dist/backend/state.js": {
"bytesInOutput": 117
@ -29760,7 +29760,7 @@
"bytesInOutput": 15
}
},
"bytes": 1073613
"bytes": 1065627
}
}
}

130
package-lock.json generated
View File

@ -182,17 +182,17 @@
}
},
"@tensorflow/tfjs": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-3.1.0.tgz",
"integrity": "sha512-6w3LHpALAlBd8m3G+Gx/OvZeOYepvuBtu80+YbajSIEBp/gMJW2NCF4/mHyHcq1f1xJen0+LpwaCL7oho9v+FA==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-3.2.0.tgz",
"integrity": "sha512-rgcHHhzI+JVl206eMbYO8WzBW3DO9pinEbgtUWdxjfk+a4ojlqvJ34RPEISMSQZRR5KRCA7E/dHFv9+EULfqmw==",
"dev": true,
"requires": {
"@tensorflow/tfjs-backend-cpu": "3.1.0",
"@tensorflow/tfjs-backend-webgl": "3.1.0",
"@tensorflow/tfjs-converter": "3.1.0",
"@tensorflow/tfjs-core": "3.1.0",
"@tensorflow/tfjs-data": "3.1.0",
"@tensorflow/tfjs-layers": "3.1.0",
"@tensorflow/tfjs-backend-cpu": "3.2.0",
"@tensorflow/tfjs-backend-webgl": "3.2.0",
"@tensorflow/tfjs-converter": "3.2.0",
"@tensorflow/tfjs-core": "3.2.0",
"@tensorflow/tfjs-data": "3.2.0",
"@tensorflow/tfjs-layers": "3.2.0",
"argparse": "^1.0.10",
"chalk": "^4.1.0",
"core-js": "3",
@ -201,9 +201,9 @@
}
},
"@tensorflow/tfjs-backend-cpu": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-3.1.0.tgz",
"integrity": "sha512-BsuDEg11z3QDuvjZSge/ssITl/GHUvHjvHgJOptz4lVwAMFxzNErkL/e8fUeWQp2SI2m7oWsx2vx/H1Y9cd3Gg==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-3.2.0.tgz",
"integrity": "sha512-L3Pp7FHO92BaeG8Uuc/RJMJ/e61UrIbKgFHS3MKr0zcbmEsqGfos6/5yR1EHj7SoYG2nPlC5+6HxbYy0zp22IA==",
"dev": true,
"requires": {
"@types/seedrandom": "2.4.27",
@ -219,22 +219,22 @@
}
},
"@tensorflow/tfjs-backend-wasm": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-3.1.0.tgz",
"integrity": "sha512-PKnIrPG1LunQrX1BaFo4GTa0fAM0c/CgCmpGVanFsIwH4Fs6BDfxLOm58ykojXPER0zv71761jFFwNh+5AGncw==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-3.2.0.tgz",
"integrity": "sha512-gXxhJWRCmkcwSNatG7eGrmHKmjJC/AxvQdToHymkp1KtRazrsMWFrROoj1HuHwK1hCZyGa90ldmXlY9QdzFkuQ==",
"dev": true,
"requires": {
"@tensorflow/tfjs-backend-cpu": "3.1.0",
"@tensorflow/tfjs-backend-cpu": "3.2.0",
"@types/emscripten": "~0.0.34"
}
},
"@tensorflow/tfjs-backend-webgl": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-3.1.0.tgz",
"integrity": "sha512-9J80sJR35Cg6BxTmQE8ljF4XLT3DXdvfLKF3C1xhRqV25PWsBvwlcvEuv6yCXp109topqJgbVnsmewS6vvVtDw==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-3.2.0.tgz",
"integrity": "sha512-WORXpDt5Ey5/+a4NioyrJkfbJUlleaSELpHnxeDsGt6BpRC2P/1pVJS1IjnBD/f4QlOm3mhouN2Oq28dRhRvqA==",
"dev": true,
"requires": {
"@tensorflow/tfjs-backend-cpu": "3.1.0",
"@tensorflow/tfjs-backend-cpu": "3.2.0",
"@types/offscreencanvas": "~2019.3.0",
"@types/seedrandom": "2.4.27",
"@types/webgl-ext": "0.0.30",
@ -251,15 +251,15 @@
}
},
"@tensorflow/tfjs-converter": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-3.1.0.tgz",
"integrity": "sha512-V1DJ9ha9fy7pSXm6H6IGH4iF/5V32o32M8ZhFy7eydYUNWTJau8svpFI/i8AhJ1htVHKXtPTEPAo/T5XXsWN/g==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-3.2.0.tgz",
"integrity": "sha512-iE2Q0naHR8OVcMc9RluebMObsPysru7X1y+mWtkPNnYlNUJORxfkEitrMbVDAKw6lsivIfo4Ar5UcstiG8/ckQ==",
"dev": true
},
"@tensorflow/tfjs-core": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-3.1.0.tgz",
"integrity": "sha512-KGSJEB6CTIk5YVgKbdpW0nAKuNtWaMdqYSrNYX43IAGdNrH0vDsipACH/bhrQyo9/NYiK/4Jbkr4k9pGwwiPJQ==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-3.2.0.tgz",
"integrity": "sha512-MZnTk9wcJai5lTfkC8T1rr6/M9C4eO0DfojZghopZXDflCTndLPIKcudx6E8qfrmZOkRSqMIwB7A8UFs7f+3Kg==",
"dev": true,
"requires": {
"@types/offscreencanvas": "~2019.3.0",
@ -278,9 +278,9 @@
}
},
"@tensorflow/tfjs-data": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-3.1.0.tgz",
"integrity": "sha512-ZxcOvgiTK/Q6DEwCJj7TxyonqA0eCkNkV+SVODU900CHwigpihlpguzRK6h20spa7YNliLDtPfALX+qyvl0isg==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-3.2.0.tgz",
"integrity": "sha512-fG4rYJlxh/B9fzgc+/qdj5gPI485RsDUM99mErxovlh3UMIdRgMeHHdFse44VlyAShEAgsOehuWovhY5520kEw==",
"dev": true,
"requires": {
"@types/node-fetch": "^2.1.2",
@ -288,18 +288,18 @@
}
},
"@tensorflow/tfjs-layers": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-3.1.0.tgz",
"integrity": "sha512-Qd5ZwdpaoKvH6Khq2U9mdeO7MArnRmKDC9/WWVfbss7+l8LC800pT9ESzIiO3P/qtDuHV1ssa0wOD31TadMOZQ==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-3.2.0.tgz",
"integrity": "sha512-TgTpH6RI+NmL4s8pQ76wkq15p79SfSQLOfFL2rGmJgatQRuA/mxLlH5GLir5HwwER3a0Vj8lMbexxCAGTqr2Xg==",
"dev": true
},
"@tensorflow/tfjs-node": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-3.1.0.tgz",
"integrity": "sha512-FhMfDgR/usnOeuDdqYXW62Z5aU+f60mPmkjwxMCwsLLYG6/fEjaeeJXu+rgwxOP+DwboLiE25EomUDNDqjrDYw==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-3.2.0.tgz",
"integrity": "sha512-4k8HvT+lFauy30EMoKhLvXykQ4xKfi5yTs0EdWue80z9XNNDIMG3932owBpWMeaRb5P0ONUuv9MSu+pi17rNnA==",
"dev": true,
"requires": {
"@tensorflow/tfjs": "3.1.0",
"@tensorflow/tfjs": "3.2.0",
"adm-zip": "^0.4.11",
"google-protobuf": "^3.9.2",
"https-proxy-agent": "^2.2.1",
@ -321,12 +321,12 @@
}
},
"@tensorflow/tfjs-node-gpu": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node-gpu/-/tfjs-node-gpu-3.1.0.tgz",
"integrity": "sha512-l0Pl53GsOg9lCpBABhyGvLVRdBTKwjf+uk551W+PbC9uX5giYgN6ARUeyGafcV3xkjR2zJgYluSpnBR2zyWYSg==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node-gpu/-/tfjs-node-gpu-3.2.0.tgz",
"integrity": "sha512-zAQPT9RwA5KOFFtkRzUGXE+9loJeJWbxkw2OnIPdB8+18c8s6/ICsHpN9nYLhelR+9wl877aaN4wQVR5T7iQDw==",
"dev": true,
"requires": {
"@tensorflow/tfjs": "3.1.0",
"@tensorflow/tfjs": "3.2.0",
"adm-zip": "^0.4.11",
"google-protobuf": "^3.9.2",
"https-proxy-agent": "^2.2.1",
@ -851,9 +851,9 @@
"dev": true
},
"core-js": {
"version": "3.8.3",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.8.3.tgz",
"integrity": "sha512-KPYXeVZYemC2TkNEkX/01I+7yd+nX3KddKwZ1Ww7SKWdI2wQprSgLmrTddT8nw92AjEklTsPBoSdQBhbI1bQ6Q==",
"version": "3.9.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.9.0.tgz",
"integrity": "sha512-PyFBJaLq93FlyYdsndE5VaueA9K5cNB7CGzeCj191YYLhkQM0gdZR2SKihM70oF0wdqKSKClv/tEBOpoRmdOVQ==",
"dev": true
},
"core-util-is": {
@ -1026,9 +1026,9 @@
}
},
"esbuild": {
"version": "0.8.51",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.51.tgz",
"integrity": "sha512-MVIom8fgL1+B6iGqWtrG7QJ1gqd64BycxounlsX1kR/IcIITaSlTo7gghKpg4a+bnxkpo0dwcikuvk4MVSA9ww==",
"version": "0.8.52",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.52.tgz",
"integrity": "sha512-b5KzFweLLXoXQwdC/e2+Z80c8uo2M5MgP7yQEEebkFw6In4T9CvYcNoM2ElvJt8ByO04zAZUV0fZkXmXoi2s9A==",
"dev": true
},
"escalade": {
@ -1424,9 +1424,9 @@
"dev": true
},
"fastq": {
"version": "1.10.1",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.10.1.tgz",
"integrity": "sha512-AWuv6Ery3pM+dY7LYS8YIaCiQvUaos9OB1RyNgaOWnaX+Tik7Onvcsf8x8c+YtDeT0maYLniBip2hox5KtEXXA==",
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
"integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==",
"dev": true,
"requires": {
"reusify": "^1.0.4"
@ -1645,9 +1645,9 @@
}
},
"google-protobuf": {
"version": "3.14.0",
"resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.14.0.tgz",
"integrity": "sha512-bwa8dBuMpOxg7COyqkW6muQuvNnWgVN8TX/epDRGW5m0jcrmq2QJyCyiV8ZE2/6LaIIqJtiv9bYokFhfpy/o6w==",
"version": "3.15.2",
"resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.15.2.tgz",
"integrity": "sha512-HU67XsVFarxjHceJgrX0K75zzUFS+95LTArAncQ1BI156oEZR+fWXgk6Fxn4fNIpmrB0fwklwjXhMB0DQe0YNg==",
"dev": true
},
"graceful-fs": {
@ -1981,18 +1981,18 @@
}
},
"mime-db": {
"version": "1.45.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz",
"integrity": "sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==",
"version": "1.46.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.46.0.tgz",
"integrity": "sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ==",
"dev": true
},
"mime-types": {
"version": "2.1.28",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz",
"integrity": "sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==",
"version": "2.1.29",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.29.tgz",
"integrity": "sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ==",
"dev": true,
"requires": {
"mime-db": "1.45.0"
"mime-db": "1.46.0"
}
},
"minimatch": {
@ -2837,9 +2837,9 @@
"dev": true
},
"typescript": {
"version": "4.3.0-dev.20210224",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.0-dev.20210224.tgz",
"integrity": "sha512-A6+di4zjFtFspmmuxnXjkYYeaXFr7Bf4t8MsTciBvBJ1OoxeHtJJEAnJjhcIl/qiZlC2Yv5TXGAI56GFwBnmqw==",
"version": "4.3.0-dev.20210225",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.0-dev.20210225.tgz",
"integrity": "sha512-EdKY+0vy3jYPqWZDj6x3VTC30e3Rq+flaFpCLH9r2bwX0+VTOqZuM3qOQpWoq4L1c4p/ye2xJd3Y79iweqzlCw==",
"dev": true
},
"uri-js": {
@ -3012,9 +3012,9 @@
}
},
"yargs-parser": {
"version": "20.2.5",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.5.tgz",
"integrity": "sha512-jYRGS3zWy20NtDtK2kBgo/TlAoy5YUuhD9/LZ7z7W4j1Fdw2cqD0xEEclf8fxc8xjD6X5Qr+qQQwCEsP8iRiYg==",
"version": "20.2.6",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.6.tgz",
"integrity": "sha512-AP1+fQIWSM/sMiET8fyayjx/J+JmTPt2Mr0FkrgqB4todtfa53sOsrSAcIrJRD5XS20bKUwaDIuMkWKCEiQLKA==",
"dev": true
}
}

View File

@ -23,23 +23,23 @@
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@tensorflow/tfjs": "^3.1.0",
"@tensorflow/tfjs-backend-cpu": "^3.1.0",
"@tensorflow/tfjs-backend-wasm": "^3.1.0",
"@tensorflow/tfjs-backend-webgl": "^3.1.0",
"@tensorflow/tfjs-converter": "^3.1.0",
"@tensorflow/tfjs-core": "^3.1.0",
"@tensorflow/tfjs-data": "^3.1.0",
"@tensorflow/tfjs-layers": "^3.1.0",
"@tensorflow/tfjs-node": "^3.1.0",
"@tensorflow/tfjs-node-gpu": "^3.1.0",
"@tensorflow/tfjs": "^3.2.0",
"@tensorflow/tfjs-backend-cpu": "^3.2.0",
"@tensorflow/tfjs-backend-wasm": "^3.2.0",
"@tensorflow/tfjs-backend-webgl": "^3.2.0",
"@tensorflow/tfjs-converter": "^3.2.0",
"@tensorflow/tfjs-core": "^3.2.0",
"@tensorflow/tfjs-data": "^3.2.0",
"@tensorflow/tfjs-layers": "^3.2.0",
"@tensorflow/tfjs-node": "^3.2.0",
"@tensorflow/tfjs-node-gpu": "^3.2.0",
"@types/node": "^14.14.31",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"@vladmandic/pilogger": "^0.2.14",
"chokidar": "^3.5.1",
"dayjs": "^1.10.4",
"esbuild": "^0.8.51",
"esbuild": "^0.8.52",
"eslint": "^7.20.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
@ -50,7 +50,7 @@
"seedrandom": "^3.0.5",
"simple-git": "^2.35.2",
"tslib": "^2.1.0",
"typescript": "^4.3.0-dev.20210224"
"typescript": "^4.3.0-dev.20210225"
},
"scripts": {
"start": "node --trace-warnings --unhandled-rejections=strict --trace-uncaught --no-deprecation src/node.js",

View File

@ -108,7 +108,7 @@ const targets = {
metafile: 'dist/tfjs.esm.json',
entryPoints: ['src/tfjs/tf-browser.ts'],
outfile: 'dist/tfjs.esm.js',
external: ['fs', 'buffer', 'util', '@tensorflow'],
external: ['fs', 'buffer', 'util', 'os', '@tensorflow'],
},
esm: {
platform: 'browser',
@ -116,7 +116,7 @@ const targets = {
metafile: 'dist/human.esm.json',
entryPoints: ['src/human.ts'],
outfile: 'dist/human.esm-nobundle.js',
external: ['fs', 'buffer', 'util', '@tensorflow'],
external: ['fs', 'buffer', 'util', 'os', '@tensorflow'],
},
},
browserBundle: {
@ -126,7 +126,7 @@ const targets = {
metafile: 'dist/tfjs.esm.json',
entryPoints: ['src/tfjs/tf-browser.ts'],
outfile: 'dist/tfjs.esm.js',
external: ['fs', 'buffer', 'util'],
external: ['fs', 'buffer', 'util', 'os'],
},
iife: {
platform: 'browser',
@ -135,7 +135,7 @@ const targets = {
metafile: 'dist/human.iife.json',
entryPoints: ['src/human.ts'],
outfile: 'dist/human.ts',
external: ['fs', 'buffer', 'util'],
external: ['fs', 'buffer', 'util', 'os'],
},
esm: {
platform: 'browser',
@ -143,7 +143,7 @@ const targets = {
metafile: 'dist/human.esm.json',
entryPoints: ['src/human.ts'],
outfile: 'dist/human.esm.js',
external: ['fs', 'buffer', 'util'],
external: ['fs', 'buffer', 'util', 'os'],
},
demo: {
platform: 'browser',
@ -151,7 +151,7 @@ const targets = {
metafile: 'dist/demo-browser-index.json',
entryPoints: ['demo/browser.js'],
outfile: 'dist/demo-browser-index.js',
external: ['fs', 'buffer', 'util'],
external: ['fs', 'buffer', 'util', 'os'],
},
},
};