Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mmv_im2im/map_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def process_one_image(

if self.pre_process is not None:
x = self.pre_process(x)
x = x[0]

# choose different inference function for different types of models
# the input here is assumed to be a tensor
Expand Down Expand Up @@ -257,6 +258,7 @@ def process_one_image(
def run_inference(self):

self.setup_model()
self.setup_data_processing()
if "pred_slice2vol" in self.model_cfg.net:

if self.model_cfg.net["pred_slice2vol"] is not None:
Expand Down