OpenGVLab / SAM-Med2D

Official implementation of SAM-Med2D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

data_demo

apuomline opened this issue · comments

Hello, author, I need to ask you the following questions. Do I need to edit the json file in the data_demo folder if I define the data set myself?

Sure, the Json file is used to locate the paths of training images and their corresponding masks. If you want to fine-tune your own dataset, please convert your data to the format of the demo example. However, generating the Json file is not the sole requirement for fine-tuning SAM-Med2D. You need to understand the pipeline of our Dataloader.py.