Closed ajinkya-kulkarni closed 9 months ago
cfg = {
"backbone": {
"drop_path_rate": 0.4
},
"segmentor": {
"instance_crop_size": 128
}
}
drop_path_rate: is the dropout probability of stochastic depth -- a technique used in training very deep NNs. See https://arxiv.org/abs/1603.09382v3 for technical explanation.
instance_crop_size: is the maximum area of analysis of the segmentation head. For efficiency reasons, the segmentation head does not explicitly compute for pixels too far away from the predicted cell centroids and simply assume these are background pixel. This setting allows much faster computation. But if set too small, may result in clipping of the segmentation. See https://arxiv.org/abs/1603.09382v2 for a more detailed explanation.
Yes you can turn on/off augmentation as you see fit.
"locations", or cell centroids, ie, data["centroids"], were computed from the user provided labels. Implementation is in the function lacss.data.dataset_from_img_mask_pairs
You can easily compute these values yourself if you opt to write your own data pipeline code from scratch.
Hi, thanks for the reply. Is there a chance a minimal training notebook would be available for training using images and masks? I was not able to turn off the augmentations part unfortunately.
By "mask" I assume you mean instance-level segmentation label, right?
For this type of training, the best example code is the "supervised training" demo notebook linked at the front page.
Alternatively, you can look at the code in /experiments/livecell/supervised.py for setting up training using coco-style labeling.
Also I can be of more help if you provide more specific info about your problem: What is your error message? Can you share your current code and results?
Ah thanks, I will look up the /experiments/livecell/supervised.py
script and see if I can translate that in my work. I will also post a minimal example next week, so the errors will be clear. Thanks again!
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 30 days since being marked as stale.
Hello, thanks for this repo! Unfortunately, I am trying to train this model on my custom dataset, and I am unable to understand several variables that are there. For example, what is 0.4 and 128 in:
and if I don't want augmentations, can how I switch it off in these lines? If I simply comment out the part for augmentations, how are the
locations
defined?Thanks, Ajinkya