From 86506b8b8c584328cc66b0d1979fd125fbdcbea9 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Tue, 14 Sep 2021 20:07:08 -0400 Subject: [PATCH] experimental custom tfjs bundle - disabled --- README.md | 2 +- TODO.md | 3 +-- package.json | 2 +- tfjs/tf-custom.ts | 6 ++++++ 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 tfjs/tf-custom.ts diff --git a/README.md b/README.md index 8ff7ba16..6ca0bdb7 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Check out [**Live Demo**](https://vladmandic.github.io/human/demo/index.html) ap ## Additional notes -- [**Notes on Backends**](https://github.com/vladmandic/human/wiki/Backends) +- [**Comparing Backends**](https://github.com/vladmandic/human/wiki/Backends) - [**Development Server**](https://github.com/vladmandic/human/wiki/Development-Server) - [**Build Process**](https://github.com/vladmandic/human/wiki/Build-Process) - [**Adding Custom Modules**](https://github.com/vladmandic/human/wiki/Module) diff --git a/TODO.md b/TODO.md index c7215a18..ba213e74 100644 --- a/TODO.md +++ b/TODO.md @@ -6,9 +6,8 @@ WebGL shader optimizations for faster load and initial detection - Implement WebGL uniforms for shaders: - Fix shader packing: -- Refactor Human as multiple partial class - Refactor ImageFX as ESM -- Implement generic model validation +- Benchmark WGSL for WebGPU
diff --git a/package.json b/package.json index a02763d8..ca684264 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@vladmandic/pilogger": "^0.3.1", "canvas": "^2.8.0", "dayjs": "^1.10.7", - "esbuild": "^0.12.27", + "esbuild": "^0.12.28", "eslint": "^7.32.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.24.2", diff --git a/tfjs/tf-custom.ts b/tfjs/tf-custom.ts new file mode 100644 index 00000000..c1175cf1 --- /dev/null +++ b/tfjs/tf-custom.ts @@ -0,0 +1,6 @@ +/** + * Creates tfjs bundle used by Human browser build target + * @external + */ + +export * from '../assets/tfjs.esm.js';