anishka25 / butterflysam

Using butterfly images dataset to finetune segment anything model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUTTERFLY SEGMENT ANYTHING MODEL

Model

This repository explores the task of image segmentation using SAM by finetuning it on butterfly dataset.

  • SAM:
    image

  • NTXENT Loss:

image

Dice loss is a metric used in image segmentation models. It measures the similarity between the predicted and actual segmentation masks by calculating the intersection over the union (IoU) of the two masks. The Dice coefficient, derived from this loss, ranges from 0 (no overlap) to 1 (perfect overlap). This loss is particularly useful for tasks like object detection or medical image segmentation, where precise delineation of objects is crucial. It encourages the model to produce accurate, pixel-level segmentations by penalizing false positives and false negatives. Minimizing Dice loss leads to better segmentation results in tasks like identifying objects in images.

Results

image image

About

Using butterfly images dataset to finetune segment anything model


Languages

Language:Jupyter Notebook 100.0%