Skip to content

Commit 34760f1

Browse files
committed
output images are empty, so we put some changes in code
1 parent 6032614 commit 34760f1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

inference_docker.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ def run():
282282
# FOR Anatomical Model USING UNet baseline
283283
# WE DON'T NEED TO CHANGE DIRN OF IMG HERE becoz monai transforms will do it.
284284

285+
print("Just Started")
286+
sys.stdout.write('Just started ')
287+
285288
class HelperDataset(Dataset):
286289
def __init__(self, file_names, transform):
287290
self.file_names = file_names
@@ -337,6 +340,10 @@ def forward(self, **kwargs) -> torch.Tensor:
337340
# We also have to put value of data_aug_params from nnunet/training/data_augumentation/default_data_augumentation.py, and since our model is 3d full res model
338341
trainer.data_aug_params = default_3D_augmentation_params
339342

343+
print("upto dataloader done")
344+
sys.stdout.write('upto dataloader done')
345+
346+
340347

341348
for data in dataloader:
342349
logits = model.forward(**data)

0 commit comments

Comments
 (0)