mirror of https://github.com/vladmandic/human
update
parent
c9120d5c67
commit
be328a3707
|
@ -58,8 +58,8 @@
|
||||||
await human.init();
|
await human.init();
|
||||||
const glShapesUniform = document.getElementById('glShapesUniform').checked;
|
const glShapesUniform = document.getElementById('glShapesUniform').checked;
|
||||||
const glExpandedConv = document.getElementById('glExpandedConv').checked
|
const glExpandedConv = document.getElementById('glExpandedConv').checked
|
||||||
if (glShapesUniform) tf.env().set('WEBGL_USE_SHAPES_UNIFORMS', true);
|
if (glShapesUniform) human.tf.env().set('WEBGL_USE_SHAPES_UNIFORMS', true);
|
||||||
if (glExpandedConv) tf.env().set('WEBGL_EXP_CONV', true);
|
if (glExpandedConv) human.tf.env().set('WEBGL_EXP_CONV', true);
|
||||||
await human.load();
|
await human.load();
|
||||||
await human.check();
|
await human.check();
|
||||||
let res;
|
let res;
|
||||||
|
|
Loading…
Reference in New Issue