Skip to content

Commit

Permalink
Merge pull request #13 from niivue/lint
Browse files Browse the repository at this point in the history
Remove debug code
  • Loading branch information
neurolabusc authored May 14, 2024
2 parents b3ac620 + c3d2964 commit 70b86bf
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 70b86bf

Please sign in to comment.