allenai / procthor-10k

The ProcTHOR-10K Houses Dataset
https://procthor.allenai.org/
Apache License 2.0
73 stars 5 forks source link

The scene file of unity of procthor-10k #9

Open liuxz-cs opened 1 year ago

liuxz-cs commented 1 year ago

Procthor is built off the ai2thor controller, and when the ai2thor controller start for the first time, it would download the 3D scenes to ~/.ai2thor, and these scenes data can be loading by Unity. So when we use the scenes in procthor-10k, where are all the scenes in procthor-10k download? The scenes in ~/.ai2thor/releases/thor-Linux64-391b3fae4d4cc026f1522e5acf60953560235971 seems to be the scenes data in ai2thor not in procthor-10k

mattdeitke commented 1 year ago

Hi @liuxz-cs, the files get downloaded to the ~/.prior directory (with them being distributed via. the PRIOR package). Can you check there?

liuxz-cs commented 1 year ago

Hi @liuxz-cs, the files get downloaded to the ~/.prior directory (with them being distributed via. the PRIOR package). Can you check there?

I chech this file, but there do not exist the scene files that can be executed by Unity ?

mattdeitke commented 1 year ago

I think there might be a misunderstanding. ProcTHOR does not generate Unity scene files. It generates JSON environment specification files, which fully defines how the house should be loaded in. The JSON file includes where objects are placed, the positions of walls, windows, and doors, materials, and lighting, among other things :)

liuxz-cs commented 1 year ago

I think there might be a misunderstanding. ProcTHOR does not generate Unity scene files. It generates JSON environment specification files, which fully defines how the house should be loaded in. The JSON file includes where objects are placed, the positions of walls, windows, and doors, materials, and lighting, among other things :)

But the 3D scenes are different from that in ai2thor, the json specification files can contain all the different sub-room surface information of houses in ProcTHOR?

mattdeitke commented 1 year ago

Yes, the scenes are different from those in ai2thor.

We use the Procedural.unity scene and load everything from scratch into there, with everything, including the sub-room surface information of the houses, being specified in the JSON files.

liuxz-cs commented 1 year ago

Yes, the scenes are different from those in ai2thor.

We use the Procedural.unity scene and load everything from scratch into there, with everything, including the sub-room surface information of the houses, being specified in the JSON files.

Okay, thanks a lot.

kam1107 commented 1 year ago

Yes, the scenes are different from those in ai2thor.

We use the Procedural.unity scene and load everything from scratch into there, with everything, including the sub-room surface information of the houses, being specified in the JSON files.

Hi, can you explain more about how to load the sampled JSON file into Procedural.unity? I wonder is it possible to create a unity model from the JSON configurations. Many thanks!