hzxie / Pix2Vox

The official implementation of "Pix2Vox: Context-aware 3D Reconstruction from Single and Multi-view Images". (Xie et al., ICCV 2019)

Home Page:https://haozhexie.com/project/pix2vox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I create a new json file like ShapeNet.json

Sand-Glass opened this issue · comments

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?

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.