We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb54c24 commit 401bee7Copy full SHA for 401bee7
1 file changed
MULTI_SEG/src/predict_CBCTSeg.py
@@ -100,8 +100,8 @@ def main(args):
100
pred_names = []
101
merge_dic_list = []
102
for image in input_path:
103
- print("Working on :",input_path)
104
- baseName = os.path.basename(input_path)
+ print("Working on :",image)
+ baseName = os.path.basename(image)
105
scan_name= baseName.split(".")
106
# print(baseName)
107
pred_id = "_XXXX-Seg_Pred"
@@ -150,8 +150,8 @@ def main(args):
150
SavePrediction(seg,input_path[seg_id],temp_path[seg_id])
151
CleanScan(temp_path[seg_id])
152
SetSpacingFromRef(
153
- temp_path,
154
- input_path,
+ temp_path[seg_id],
+ input_path[seg_id],
155
# "Linear",
156
outpath=file_path
157
)
0 commit comments