mediapipe: Browser hangs during model loading

While initalizing new Holistic(...) model, browser hangs for 10+ seconds with following output

holistic_solution_wasm_bin.js:9 I0421 21:07:14.783000       1 gl_context_webgl.cc:149] Successfully created a WebGL context with major version 3 and handle 3
put_char @ holistic_solution_wasm_bin.js:9
holistic_solution_wasm_bin.js:9 I0421 21:07:14.786000       1 gl_context.cc:348] GL version: 3.0 (OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium)))
put_char @ holistic_solution_wasm_bin.js:9
holistic_solution_wasm_bin.js:9 W0421 21:07:14.790000       1 gl_context.cc:802] Drishti OpenGL error checking is disabled
put_char @ holistic_solution_wasm_bin.js:9
holistic_solution_wasm_bin.js:9 ERROR: Following operations are not supported by GPU delegate:
put_char @ holistic_solution_wasm_bin.js:9
holistic_solution_wasm_bin.js:9 DEQUANTIZE: 
put_char @ holistic_solution_wasm_bin.js:9
holistic_solution_wasm_bin.js:9 577 operations will run on the GPU, and the remaining 0 operations will run on the CPU.
put_char @ holistic_solution_wasm_bin.js:9
holistic_solution_wasm_bin.js:9 ERROR: Following operations are not supported by GPU delegate:
put_char @ holistic_solution_wasm_bin.js:9
holistic_solution_wasm_bin.js:9 DEQUANTIZE: 
put_char @ holistic_solution_wasm_bin.js:9
holistic_solution_wasm_bin.js:9 164 operations will run on the GPU, and the remaining 0 operations will run on the CPU.

Is there any way to load the model without making the browser hang? I used js solution api from https://google.github.io/mediapipe/solutions/holistic.html with zero changes.

Thanks, Rakesh

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 24

Most upvoted comments

@rakesh4real my web app does hang. just tested it now again.