OpenGVLab / SAM-Med2D

Official implementation of SAM-Med2D
Apache License 2.0
889 stars 85 forks source link

data_demo #23

Closed apuomline closed 7 months ago

apuomline commented 1 year ago

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?

Cjl-MedSeg commented 1 year ago

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.