We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ec31ad commit d9626e4Copy full SHA for d9626e4
flamingo_tools/segmentation/unet_prediction.py
@@ -571,6 +571,8 @@ def run_unet_prediction_slurm(
571
"""
572
os.makedirs(output_folder, exist_ok=True)
573
prediction_instances = int(prediction_instances)
574
+ if isinstance(scale, str):
575
+ scale = float(scale)
576
slurm_task_id = os.environ.get("SLURM_ARRAY_TASK_ID")
577
578
if s3 is not None:
0 commit comments