facebookresearch / sam2

The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
11.9k stars 1.05k forks source link

organizing my own data in format of SA1BRawDataset dataset #401

Open samra-irshad opened 3 days ago

samra-irshad commented 3 days ago

Hi, i am trying to fine tune sam2 for my own dataset. Initially, i have tried writing my own class but i have to change many transform functions because they have been written for video data. Now i want to organize my data the way SA1B data is organized so that i can use SA1BRawDataset class. I want to know how can i organize my data in format of SA1B data? SA1B data is very large so i am unable to download it and i am not sure how it is structured. For my data, I have images and binary segmentations.

tututututurana commented 1 day ago

Have you solved it?