force f16 textures

pull/293/head
Vladimir Mandic 2020-11-19 16:16:51 -05:00
parent 387a080c89
commit 731237df78
1 changed files with 1 additions and 1 deletions

View File

@ -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();