From c3d29643b757c53129cb04f2ace94806582e02d4 Mon Sep 17 00:00:00 2001 From: neurolabusc Date: Tue, 14 May 2024 18:13:09 -0400 Subject: [PATCH] Remove debug code --- brainchop-mainthread.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/brainchop-mainthread.js b/brainchop-mainthread.js index 50a6b4f..14906a0 100644 --- a/brainchop-mainthread.js +++ b/brainchop-mainthread.js @@ -423,7 +423,7 @@ class SequentialConvLayer { this.outChannels = model.outputLayers[0].kernel.shape[4] this.chunkSize = chunkSize this.isChannelLast = isChannelLast - this.callbackUI = callbackUI // fork + this.callbackUI = callbackUI } /** @@ -2001,7 +2001,6 @@ async function runInference(opts, modelEntry, niftiHeader, niftiImage, callbackI const model = await load_model(opts.rootURL + modelEntry.path) await enableProductionMode(true) statData.TF_Backend = tf.getBackend() - callbackUI('Segmentation mork', 0) const modelObject = model let batchInputShape = [] // free global variable of 16777216 voxel