kreshuklab / plant-seg

A tool for cell instance aware segmentation in densely packed 3D volumetric images
https://kreshuklab.github.io/plant-seg/
MIT License
88 stars 31 forks source link

Central model records #216

Closed qin-yu closed 4 months ago

qin-yu commented 5 months ago

Design Changes

Coding Changes

To-do

qin-yu commented 4 months ago

Hey @lorenzocerrone, I've developed a central record singleton class for managing models—a runtime table for storing information about models. This setup paves the way for integrating default models, custom models, and models from bioimage.io. Although bioimage.io is currently undergoing migration, the new database will soon be ready for integration.

Could you review this when you are fixing issue 218 today?

qin-yu commented 4 months ago

Replying to https://github.com/hci-unihd/plant-seg/pull/220#issuecomment-2051378622

Yes I'll use Pydantic for all necessary config validation. But I'll do it bit by bit like what I did for pathlib.