Skip to content

Floating point exception when running MIRACL Ace workflow #185

Description

@clemencehurni

I am testing the MIRACL Ace workflow and encounter a Fatal Python error: Floating point exception during processing.
This happens both with the provided sample dataset and with my own dataset.

Error log:

...
Slice: 126240_089000_038960.tif
Slice: 126240_089000_038980.tif

Saving patches for Z-dim to 'output/final_ctn_down_10_rca_voxel_size_25/seg_final/generated_patches/'...

In total, 256 patches have been saved to 'output/final_ctn_down_10_rca_voxel_size_25/seg_final/generated_patches/'!
Patches folder path is: output/final_ctn_down_10_rca_voxel_size_25/seg_final/generated_patches
preparing dataset!
data dicts are ready!
some samples from data dicts: [{'image': 'output/.../patch_0_0.tiff'}, {'image': 'output/.../patch_0_1.tiff'}, {'image': 'output/.../patch_0_10.tiff'}]
in total we have 253 data dicts
model(s) are initialized!
number of available gpus: 1
Trained model(s) are loaded!
Data # 1 , {'image': 'output/.../patch_0_0.tiff'}
Fatal Python error: Floating point exception

The system configuration is the following:

OS: Ubuntu 24.04.2 LTS
Workstation: HP Z840, Intel® Xeon® E5-2687W v3 × 40
GPU: NVIDIA GeForce RTX 5060 Ti
Driver: 575.57.08
CUDA: 12.9

Command used, as in tutorial:

miracl flow ace
--single Ex_561_Em_600_stitched
--sa_output_folder output
--sa_model_type unet
--rca_orient_code ARI
--sa_resolution 3.5 3.5 4.0
--ctn_down 10
--rca_voxel_size 25
--ctn_channame Signal
--sa_batch_size 1

Thanks in advance for your help,
Clémence

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions