Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmasoud1 committed Jul 15, 2022
1 parent 52b9914 commit 2cfc9d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/mainMeshNetFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -5322,7 +5322,7 @@ checkInferenceModelList = () => {
console.log(tf.getBackend());
//-- set this flag so that textures are deleted when tensors are disposed.
tf.env().set("WEBGL_DELETE_TEXTURE_THRESHOLD", 0);
tf.env().set('WEBGL_FORCE_F16_TEXTURES', true);
// tf.env().set('WEBGL_FORCE_F16_TEXTURES', true);

console.log("tf env() features :", tf.env().features);
console.log("tf env total features: ", Object.keys(tf.env().features).length);
Expand Down
4 changes: 2 additions & 2 deletions js/mainParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
filterOutWithPreMask: false, // Can be used to multiply final output with premodel output mask to crean noisy areas
textureSize: 9159, // Requested Texture size for the model, if unknown can be 0.
warning: null, // Warning message to show when select the model.
inferenceDelay: 0, // Delay in ms time while looping layers applying.
inferenceDelay: 100, // Delay in ms time while looping layers applying.
description: "Extract the brain fast model operates on full T1 image in a single pass, but uses only 5 filters per layer. Can work on integrated graphics cards but is barely large enough to provide good accuracy. Still more accurate than the failsafe version."
},

Expand Down Expand Up @@ -209,7 +209,7 @@
filterOutWithPreMask: false, // Can be used to multiply final output with premodel output mask to crean noisy areas
textureSize: 9159, // Requested Texture size for the model, if unknown can be 0.
warning: null, // Warning message to show when select the model.
inferenceDelay: 0, // Delay in ms time while looping layers applying.
inferenceDelay: 100, // Delay in ms time while looping layers applying.
description: "This fast masking model operates on full T1 image in a single pass, but uses only 5 filters per layer. Can work on integrated graphics cards but is barely large enough to provide good accuracy. Still more accurate than failsafe version."
},

Expand Down

0 comments on commit 2cfc9d7

Please sign in to comment.