How can I create a new json file like ShapeNet.json
Sand-Glass opened this issue · comments
Yingxiang Li commented
I want use code of the dataloader and dataset like yours. But I don`t know how to generate the corresponding json file.
Could you help me if you have the code or method?
Haozhe Xie commented
The JSON format of the ShapeNet dataset is organized as follows
[
{
"taxonomy_id": "02691156",
"taxonomy_name": "aeroplane",
"baseline": {
"1-view": 0.513,
"2-view": 0.536,
"3-view": 0.549,
"4-view": 0.556,
"5-view": 0.561
},
"test": [
"6c432109eee42aed3b053f623496d8f5",
"a9b95631bcbefe9ad225a1c252daae25"
],
"train": [
"6c432109eee42aed3b053f623496d8f5",
"a9b95631bcbefe9ad225a1c252daae25"
],
"val": [
"6c432109eee42aed3b053f623496d8f5",
"a9b95631bcbefe9ad225a1c252daae25"
]
}
]
You can generate it with a Python script.