computational-cell-analytics / micro-sam

Segment Anything for Microscopy
https://computational-cell-analytics.github.io/micro-sam/
MIT License
311 stars 35 forks source link

Scripts for finetuning for chromosome segmentation in EM #625

Open anwai98 opened 1 month ago

anwai98 commented 1 month ago

Hi @constantinpape,

This is a finetuning script for Gunar, for finetuning micro-sam (vit_b_em_organelles) on their own data. I made a random split out of one unified dataset to avoid making sure of explicit segmented volumes.

Looks good to me. Let me know if you spot something, I'll then forward them this PR to take a look at this finetuning script.

(PS. It's not tested, but in theory just changing the global variable to declare the path to the parent directory where images and labels are stored in a certain way (I'll communicate this to them) should work out-of-the-box)

Thanks!

constantinpape commented 1 month ago

Looks good from my end.