We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20a3914 commit 9b046c7Copy full SHA for 9b046c7
1 file changed
TPTBox/segmentation/VibeSeg/inference_nnunet.py
@@ -230,10 +230,7 @@ def run_VibeSeg(
230
logger.print(out_path, "already exists. SKIP!", Log_Type.OK)
231
return out_path
232
233
- if _model_path is not None:
234
- model_path = _model_path
235
- else:
236
- model_path = _model_path_
+ model_path = _model_path if _model_path is not None else _model_path_
237
if dataset_id is None:
238
for idx in known_idx:
239
download_weights(idx)
0 commit comments