mirror of https://github.com/vladmandic/human
release 2.5.2
parent
798d842c4b
commit
6a6f14f658
|
@ -9,11 +9,12 @@
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### **HEAD -> main** 2021/11/14 mandic00@live.com
|
||||||
|
|
||||||
|
|
||||||
### **2.5.2** 2021/11/14 mandic00@live.com
|
### **2.5.2** 2021/11/14 mandic00@live.com
|
||||||
|
|
||||||
|
- fix mobilefacenet module
|
||||||
### **origin/main** 2021/11/13 mandic00@live.com
|
|
||||||
|
|
||||||
- fix gear and ssrnet modules
|
- fix gear and ssrnet modules
|
||||||
- fix for face crop when mesh is disabled
|
- fix for face crop when mesh is disabled
|
||||||
- implement optional face masking
|
- implement optional face masking
|
||||||
|
|
7
TODO.md
7
TODO.md
|
@ -54,7 +54,8 @@ New:
|
||||||
Other:
|
Other:
|
||||||
- Improved **Safari** compatibility
|
- Improved **Safari** compatibility
|
||||||
- Improved `similarity` and `match` score range normalization
|
- Improved `similarity` and `match` score range normalization
|
||||||
- Documentation overhaul
|
|
||||||
- Fixed optional `gear`, `ssrnet`, `mobilefacenet` modules
|
|
||||||
- Improved error handling
|
- Improved error handling
|
||||||
- Fix Firefox WebGPU compatibility issue
|
- Improved VSCode out-of-the-box experience
|
||||||
|
- Documentation overhaul
|
||||||
|
- Fix for optional `gear`, `ssrnet`, `mobilefacenet` modules
|
||||||
|
- Fix for Firefox WebGPU compatibility issue
|
||||||
|
|
|
@ -54,7 +54,8 @@ async function init() {
|
||||||
await human.load();
|
await human.load();
|
||||||
const loaded = Object.keys(human.models).filter((a) => human.models[a]);
|
const loaded = Object.keys(human.models).filter((a) => human.models[a]);
|
||||||
log.info('Loaded:', loaded);
|
log.info('Loaded:', loaded);
|
||||||
log.info('Memory state:', human.tf.engine().memory());
|
// log.info('Memory state:', human.tf.engine().memory());
|
||||||
|
log.data(tf.backend()['binding'] ? tf.backend()['binding']['TF_Version'] : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function detect(input) {
|
async function detect(input) {
|
||||||
|
|
|
@ -53,7 +53,6 @@
|
||||||
"tensorflow"
|
"tensorflow"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tensorflow/tfjs": "^3.11.0",
|
|
||||||
"@tensorflow/tfjs-backend-cpu": "^3.11.0",
|
"@tensorflow/tfjs-backend-cpu": "^3.11.0",
|
||||||
"@tensorflow/tfjs-backend-wasm": "^3.11.0",
|
"@tensorflow/tfjs-backend-wasm": "^3.11.0",
|
||||||
"@tensorflow/tfjs-backend-webgl": "^3.11.0",
|
"@tensorflow/tfjs-backend-webgl": "^3.11.0",
|
||||||
|
@ -62,28 +61,30 @@
|
||||||
"@tensorflow/tfjs-core": "^3.11.0",
|
"@tensorflow/tfjs-core": "^3.11.0",
|
||||||
"@tensorflow/tfjs-data": "^3.11.0",
|
"@tensorflow/tfjs-data": "^3.11.0",
|
||||||
"@tensorflow/tfjs-layers": "^3.11.0",
|
"@tensorflow/tfjs-layers": "^3.11.0",
|
||||||
"@tensorflow/tfjs-node": "^3.11.0",
|
|
||||||
"@tensorflow/tfjs-node-gpu": "^3.11.0",
|
"@tensorflow/tfjs-node-gpu": "^3.11.0",
|
||||||
|
"@tensorflow/tfjs-node": "^3.11.0",
|
||||||
|
"@tensorflow/tfjs": "^3.11.0",
|
||||||
"@types/node": "^16.11.7",
|
"@types/node": "^16.11.7",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
||||||
"@typescript-eslint/parser": "^5.3.1",
|
"@typescript-eslint/parser": "^5.3.1",
|
||||||
"@vladmandic/build": "^0.6.4",
|
"@vladmandic/build": "^0.6.4",
|
||||||
"@vladmandic/pilogger": "^0.3.5",
|
"@vladmandic/pilogger": "^0.3.5",
|
||||||
|
"@vladmandic/tfjs": "github:vladmandic/tfjs",
|
||||||
"canvas": "^2.8.0",
|
"canvas": "^2.8.0",
|
||||||
"dayjs": "^1.10.7",
|
"dayjs": "^1.10.7",
|
||||||
"esbuild": "^0.13.13",
|
"esbuild": "^0.13.13",
|
||||||
"eslint": "8.2.0",
|
|
||||||
"eslint-config-airbnb-base": "^15.0.0",
|
"eslint-config-airbnb-base": "^15.0.0",
|
||||||
"eslint-plugin-html": "^6.2.0",
|
"eslint-plugin-html": "^6.2.0",
|
||||||
"eslint-plugin-import": "^2.25.3",
|
"eslint-plugin-import": "^2.25.3",
|
||||||
"eslint-plugin-json": "^3.1.0",
|
"eslint-plugin-json": "^3.1.0",
|
||||||
"eslint-plugin-node": "^11.1.0",
|
"eslint-plugin-node": "^11.1.0",
|
||||||
"eslint-plugin-promise": "^5.1.1",
|
"eslint-plugin-promise": "^5.1.1",
|
||||||
|
"eslint": "8.2.0",
|
||||||
"node-fetch": "^3.1.0",
|
"node-fetch": "^3.1.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"seedrandom": "^3.0.5",
|
"seedrandom": "^3.0.5",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"typedoc": "0.22.8",
|
"typedoc": "0.22.9",
|
||||||
"typescript": "4.4.4"
|
"typescript": "4.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,6 +67,8 @@ async function testInstance(human) {
|
||||||
log('info', 'human version:', human.version);
|
log('info', 'human version:', human.version);
|
||||||
log('info', 'platform:', human.env.platform, 'agent:', human.env.agent);
|
log('info', 'platform:', human.env.platform, 'agent:', human.env.agent);
|
||||||
log('info', 'tfjs version:', human.tf.version.tfjs);
|
log('info', 'tfjs version:', human.tf.version.tfjs);
|
||||||
|
const bindingVer = human.tf.backend()['binding'] ? human.tf.backend()['binding']['TF_Version'] : null;
|
||||||
|
if (bindingVer) log('info', 'tensorflow binding version:', bindingVer);
|
||||||
|
|
||||||
await human.load();
|
await human.load();
|
||||||
if (config.backend === human.tf.getBackend()) log('state', 'passed: set backend:', config.backend);
|
if (config.backend === human.tf.getBackend()) log('state', 'passed: set backend:', config.backend);
|
||||||
|
|
Loading…
Reference in New Issue