Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed May 14, 2024
1 parent 66a15fc commit c3d2964
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions brainchop-mainthread.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/**
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c3d2964

Please sign in to comment.