Skip to content

Fine-tuning 3d model #25

@ElpadoCan

Description

@ElpadoCan

Hello, first of all, congratulations on the software tool. It is very easy to use, and the code is super clean.

I am having some issues with fine-tuning the 3d model. I have 170 training z-stack volumes and 10 validation volumes. I fine-tuned with the API as explained in the documentation (see below) starting from the synth_3d model.

The synth_3d model had a very high recall but low precision. However, the fine-tuned model has the opposite problem, it achieves 100% precision, but crazy low recall. What do you think I should try? Training from scratch? Thank you very much and have a good day!

pretrained_model_name = "synth_3d"
model = Spotiflow.from_pretrained(
    pretrained_model_name, 
    inference_mode=False
)
model.fit(
    train_imgs,
    train_spots,
    val_imgs,
    val_spots,
    device='cuda',
    save_dir=model_path,
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions