This includes two things to help train new cell detection models:
A CLI command for generating RectLabel-compatible datasets from an arbitrary set of single apartment images. In this example, all the images matching data-file-patterns will be run through a cell detection model already configured for some other experiment and then copy those
same images to separate folder (example-annotation-dataset) alongside RectLabel xml annotations:
An export feature in the app to do the same as the above for a single apartment. Currently, this looks like:
Pick an apartment and the "RectLabel Annotations" export type
This will generate data in a folder like this:
Point RectLabel at the above folder:
This PR won't require a container rebuild and it will work for datasets you've already generated. I am though about to make some serious updates to how the app works to make it much faster and start deploying the container to DockerHub so that you can just download the latest version (docker pull eczech/celldom:latest) instead of ever needing to build it. It's probably worth waiting for that unless you're anxious to start training cell detection models (in which case this commit should take minimal effort to use).
cc: @benjaminyellen + @jmotschman
This includes two things to help train new cell detection models:
data-file-patterns
will be run through a cell detection model already configured for some other experiment and then copy those same images to separate folder (example-annotation-dataset
) alongside RectLabel xml annotations:Pick an apartment and the "RectLabel Annotations" export type
This will generate data in a folder like this:
Point RectLabel at the above folder:
This PR won't require a container rebuild and it will work for datasets you've already generated. I am though about to make some serious updates to how the app works to make it much faster and start deploying the container to DockerHub so that you can just download the latest version (
docker pull eczech/celldom:latest
) instead of ever needing to build it. It's probably worth waiting for that unless you're anxious to start training cell detection models (in which case this commit should take minimal effort to use).