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

The main question I want to ask is in what format is the json file under the data_demo file defined?

The JSON file is actually a dictionary where the keys represent the paths to the images, and the values represent the paths to the corresponding masks. It is important to note that the JSON file used for training contains multiple mask paths corresponding to a single image path, while the JSON file used for testing contains a single mask path corresponding to an image path.