From 731237df78548ab4b8ed15bcc21a6a60d1f73b2c Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 19 Nov 2020 16:16:51 -0500 Subject: [PATCH] force f16 textures --- src/human.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/human.js b/src/human.js index d26b54c7..ae6220a4 100644 --- a/src/human.js +++ b/src/human.js @@ -187,7 +187,7 @@ class Human { this.log('changing webgl: WEBGL_DELETE_TEXTURE_THRESHOLD:', this.config.deallocate); tf.ENV.set('WEBGL_DELETE_TEXTURE_THRESHOLD', this.config.deallocate ? 0 : -1); } - // tf.ENV.set('WEBGL_FORCE_F16_TEXTURES', true); + tf.ENV.set('WEBGL_FORCE_F16_TEXTURES', true); tf.ENV.set('WEBGL_PACK_DEPTHWISECONV', true); } await tf.ready();