andreped commited on
Commit
1ddaffd
·
unverified ·
1 Parent(s): 43308ac

Fixed postprocessing typo in lungmask usage

Browse files
Files changed (1) hide show
  1. lungtumormask/dataprocessing.py +1 -1
lungtumormask/dataprocessing.py CHANGED
@@ -48,7 +48,7 @@ def mask_lung(scan_path, batch_size=20):
48
  pls = torch.max(prediction, 1)[1].detach().cpu().numpy().astype(np.uint8)
49
  timage_res = np.vstack((timage_res, pls))
50
 
51
- outmask = lungmask.utils.postrocessing(timage_res)
52
 
53
 
54
  outmask = np.asarray(
 
48
  pls = torch.max(prediction, 1)[1].detach().cpu().numpy().astype(np.uint8)
49
  timage_res = np.vstack((timage_res, pls))
50
 
51
+ outmask = lungmask.utils.postprocessing(timage_res)
52
 
53
 
54
  outmask = np.asarray(