cellpose icon indicating copy to clipboard operation
cellpose copied to clipboard

How to evaluate the image gradient in new models after using human-in-the-loop

Open Crudeoil0 opened this issue 2 years ago • 2 comments

Hi I am using cellpose to fit into my cardiac cell and I am wondering how to evaluate the image gradient in newly trained models after using human-in-the-loop.

Crudeoil0 avatar Aug 15 '22 22:08 Crudeoil0

do you mean the flows? and by evaluate what do you mean? you can use your model on the command line with python -m cellpose --dir /path/to/images --pretrained_model name_in_gui

carsen-stringer avatar Sep 09 '22 14:09 carsen-stringer

Thank you for your comment, Carsen. I am a biologist at the University of Auckland, a new hand in machine learning. Thank you for your useful tool. It helps a lot in my research. The cell, according to your paper, seems to generate seeds in the center and calculate the gradient around it to detect the boundary. What I wish to know is how to get the gradient on the human-in-the-loop trained model.

Crudeoil0 avatar Sep 12 '22 22:09 Crudeoil0

you can get it in the same way, the flows are saved in the _seg.npy file as a dictionary key, after you run the new model

carsen-stringer avatar Nov 06 '22 19:11 carsen-stringer