lightly icon indicating copy to clipboard operation
lightly copied to clipboard

Imagen segmentation

Open Jcastanyo opened this issue 3 years ago • 1 comments

Hi everyone,

I wonder if It is possible to apply these methods in image segmentation. In that case, is there any tutorial available?

Thanks in advance. Julio.

Jcastanyo avatar Jan 30 '22 20:01 Jcastanyo

Hi,

Self-supervised learning can definitely used for pretraining an image segmentation network. In this case it is important to consider how many objects per image your dataset contains. If you have a few large objects per image (lets say 1-3) then you could use for example one of our SimCLR or MoCo models.

If there are many small objects on the image it becomes more complicated as most self-supervised models assume that two random crops from the same image show the same object. This is no longer the case with small objects, as two crops from the same image could show very different objects. In this case you might want to change the cropping strategy such that the two crops always have some overlap. This approach is well explained in the following paper which also features many results on image segmentation: Revisiting Contrastive Methods for Unsupervised Learning of Visual Representations

There have also been a flurry of new methods developed specifically for object detection and image segmentation on complex images. I put some examples down below:

Sadly we did not yet have the time to implement those methods.

Could you provide some more details on what exactly you want to do and what type of data you have?

guarin avatar Jan 31 '22 08:01 guarin

Hi!

@guarin, is there any Segmentation downtask example code available?

Thank you!

miguel-arrf avatar Aug 02 '23 00:08 miguel-arrf

Hi @miguel-arrf

Currently we unfortunately don't have any examples for segmentation downstream tasks.

philippmwirth avatar Aug 02 '23 06:08 philippmwirth

Thank you @philippmwirth !

miguel-arrf avatar Aug 02 '23 09:08 miguel-arrf