update tfjs

pull/356/head
Vladimir Mandic 2022-07-25 08:30:34 -04:00
parent 12937b9abf
commit f31cef3923
3 changed files with 18 additions and 18 deletions

3
.npmrc
View File

@ -1,3 +1,4 @@
force=true force=true
legacy-peer-deps=true
production=true production=true
legacy-peer-deps=true
strict-peer-dependencies=false

24
TODO.md
View File

@ -48,16 +48,16 @@ Feature is automatically disabled in **NodeJS** without user impact
## Pending Release Changes ## Pending Release Changes
- install production-only dependencies by default - install production-only dependencies by default
results in a must faster and smaller `human` installation results in a must faster and smaller `human` installation
to install all dependencies use `npm install @vladmandic/human --production=false` to install all dependencies use `npm install @vladmandic/human --production=false`
- switch to production `@tensorflow/tfjs` for browsers - switch to production `@tensorflow/tfjs` for browsers
`tfjs` has stabilized in recent versions so its not necessary to run a custom bundle anymore `tfjs` has stabilized in recent versions so its not necessary to run a custom bundle anymore
- add **webview** support - add **webview** support
- add `getModelStats` method - add `getModelStats` method
- extract model stats in build process - extract model stats in build process
- typedoc fixes - typedoc fixes
- add face contours to results - add face contours to results
- improve face compare in demo app - improve face compare in demo app
- update dependencies - update dependencies and `tfjs`
- gear model fixes - `gear` model fixes

View File

@ -54,8 +54,7 @@
"tensorflow" "tensorflow"
], ],
"optionalDependencies": { "optionalDependencies": {
"canvas": "^2.9.3", "canvas": "^2.9.3"
"dayjs": "^1.11.4"
}, },
"devDependencies": { "devDependencies": {
"@microsoft/api-extractor": "^7.28.6", "@microsoft/api-extractor": "^7.28.6",
@ -71,14 +70,14 @@
"@tensorflow/tfjs-node": "^3.19.0", "@tensorflow/tfjs-node": "^3.19.0",
"@tensorflow/tfjs-node-gpu": "^3.19.0", "@tensorflow/tfjs-node-gpu": "^3.19.0",
"@tensorflow/tfjs-tflite": "0.0.1-alpha.8", "@tensorflow/tfjs-tflite": "0.0.1-alpha.8",
"@types/node": "^18.0.6", "@types/node": "^18.6.1",
"@types/offscreencanvas": "^2019.7.0", "@types/offscreencanvas": "^2019.7.0",
"@typescript-eslint/eslint-plugin": "^5.30.7", "@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7", "@typescript-eslint/parser": "^5.30.7",
"@vladmandic/build": "^0.7.7", "@vladmandic/build": "^0.7.7",
"@vladmandic/pilogger": "^0.4.5", "@vladmandic/pilogger": "^0.4.5",
"@vladmandic/tfjs": "github:vladmandic/tfjs", "@vladmandic/tfjs": "github:vladmandic/tfjs",
"esbuild": "^0.14.49", "esbuild": "^0.14.50",
"eslint": "8.20.0", "eslint": "8.20.0",
"eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-html": "^7.0.0", "eslint-plugin-html": "^7.0.0",
@ -90,7 +89,7 @@
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"seedrandom": "^3.0.5", "seedrandom": "^3.0.5",
"tslib": "^2.4.0", "tslib": "^2.4.0",
"typedoc": "0.23.8", "typedoc": "0.23.9",
"typescript": "4.7.4" "typescript": "4.7.4"
} }
} }