LouayMagdy commited on
Commit
75cedf6
·
verified ·
1 Parent(s): c7bf40f

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +0 -1
inference.py CHANGED
@@ -71,7 +71,6 @@ def segment_wt(wt_model, flair_tensor, t1_tensor, t1ce_tensor, t2_tensor):
71
  wt_output = wt_model(wt_input)
72
  return wt_output
73
 
74
-
75
  def segment_tc(tc_model, flair_tensor, t1_tensor, t1ce_tensor, t2_tensor, wt_output):
76
  tc_input = torch.cat((flair_tensor, t1_tensor, t1ce_tensor, t2_tensor, wt_output.squeeze(0),
77
  wt_output.squeeze(0), wt_output.squeeze(0), wt_output.squeeze(0)), dim=0).unsqueeze(0)
 
71
  wt_output = wt_model(wt_input)
72
  return wt_output
73
 
 
74
  def segment_tc(tc_model, flair_tensor, t1_tensor, t1ce_tensor, t2_tensor, wt_output):
75
  tc_input = torch.cat((flair_tensor, t1_tensor, t1ce_tensor, t2_tensor, wt_output.squeeze(0),
76
  wt_output.squeeze(0), wt_output.squeeze(0), wt_output.squeeze(0)), dim=0).unsqueeze(0)