easonyang1996 / CS-CO

MICCAI2021 Paper: Self-supervised visual representation learning for histopathological images
MIT License
26 stars 4 forks source link

Floating point exception (core dumped) in spams.trainDL #5

Open PurmaVishnuVardhanReddy opened 1 year ago

PurmaVishnuVardhanReddy commented 1 year ago

Please help me in fixing the floating point exception issue while doing stain separation for preparing the data.

-Thanks

lsqqqq commented 1 year ago

I got the same issue.

It happened when I do vahadane stain separation towards figure BACK-MCTQSIWS.png from the dataset NCT-CRC-HE-100K suggested by the CS-CO paper.

The following is my vahadane settings and part of my code:

...
vhd = vahadane(LAMBDA1=0.01, LAMBDA2=0.01, fast_mode=0, getH_mode=1,
                   ITER=50)
...
stain, concen = vhd.stain_separate(img)

After that, I got the error: Floating point exception (core dumped)