Skip to content

Commit

Permalink
added link to chrome issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Sep 25, 2024
1 parent 32bf771 commit 9260358
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ WebGPU ([TensorFlow.js](https://www.tensorflow.org/js), [ONNX Runtime Web](https
WebGL ([Three.js](https://threejs.org/), [SwissGL](https://google.github.io/swissgl/)), and VanillaJS.

Known issues:
1. Modnet crashes using Transformers.js v3-alpha on Chromium 129+: https://github.com/xenova/transformers.js/issues/943 (currently reverted to v2 with a significant slowdown)
1. Modnet crashes using Transformers.js v3-alpha on Chromium 129+: https://github.com/xenova/transformers.js/issues/943, https://issues.chromium.org/issues/368997517 (currently reverted to v2 with a significant slowdown)
2. Resolution of captured media is doubled for smaller frames: https://github.com/screen-share/element-capture/issues/44

<br>

[Demo video](https://github.com/eyaler/LordTubeMaster/assets/4436747/2352969c-889d-478e-b386-8bdf6452a797)

<br>
High-level architecture and modules:

![Architecture](media/LordTubeMaster.svg)
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</optgroup>
<hr>
<optgroup label="WebGL">
<option value="dotcamera_swissgl">Dot "camera" (SwissGL)</option>
<option value="dotcamera_swissgl">Dot "camera" stapling (SwissGL)</option>
<option value="ruttetraizer_threejs">Rutt-Etra-Izer with mouse (Three.js)</option>
</optgroup>
<hr>
Expand Down
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const mediapipe_wasm_url = 'https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision

import {AutoModel, AutoProcessor, RawImage, env as transformersEnv} from 'https://cdn.jsdelivr.net/npm/@xenova/[email protected]/dist/transformers.min.js'
// import {AutoModel, AutoProcessor, RawImage, env as transformersEnv} from 'https://cdn.jsdelivr.net/npm/@huggingface/[email protected]/dist/transformers.min.js'
// Note modnet on transformers v3 is 10x faster on chromium 128 but crashed on 129+. See: https://github.com/xenova/transformers.js/issues/943
// Note modnet on transformers v3 is 10x faster on chromium 128 but crashed on 129+. See: https://github.com/xenova/transformers.js/issues/943, https://issues.chromium.org/issues/368997517

import 'https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js'
import 'https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf-backend-webgpu.min.js'
Expand Down

0 comments on commit 9260358

Please sign in to comment.