Closed kkkkkkkkkkkkkkkin closed 1 year ago
Hi @kkkkkkkkkkkkkkkin
I ran into the same problem. In my case I had to add the --annotation_file with the correct path to the config file. The default config file is set to the bedroom config file, which explains why it only fails for other room types.
The command in my case looks something like this:
python preprocess_data.py ../../datasets/3D_FRONT_processed/livingrooms/ ../../datasets/3D-FRONT/ ../../datasets/3D-FUTURE-model/ ../../datasets/3D-FUTURE-model/model_info.json ../demo/floor_plan_texture_images/ --dataset_filtering threed_front_livingroom --annotation_file ../config/livingroom_threed_front_splits.csv --room_side 6.2
Hope this helps.
I'm curious about the dataset pre-processing outputs. Is a total output of 4041 bedrooms and 813 livingrooms normal?
Hi @kkkkkkkkkkkkkkkin
I ran into the same problem. In my case I had to add the --annotation_file with the correct path to the config file. The default config file is set to the bedroom config file, which explains why it only fails for other room types.
The command in my case looks something like this:
python preprocess_data.py ../../datasets/3D_FRONT_processed/livingrooms/ ../../datasets/3D-FRONT/ ../../datasets/3D-FUTURE-model/ ../../datasets/3D-FUTURE-model/model_info.json ../demo/floor_plan_texture_images/ --dataset_filtering threed_front_livingroom --annotation_file ../config/livingroom_threed_front_splits.csv --room_side 6.2
Hope this helps.
Good!
The error I got:
I have ran the
preprocess_data.py
script according to GitHub instructions.When I ran every filtering aside from bedroom, printing
scenes
out inthreed_front.py
andcommon.py
returns an empty list[]
.For the bedroom filtering, the console is able to print out a list of objects. For example: (From threed_front.py)
[<scene_synthesis.datasets.threed_front_scene.Room object at 0x000001667FE651C0>, <scene_synthesis.datasets.threed_front_scene.Room object at 0x000001667FE96C10>]
(From common.py)[<scene_synthesis.datasets.threed_front_scene.Room object at 0x000001667FE651C0>, <scene_synthesis.datasets.threed_front_scene.Room object at 0x000001667FE96C10>]
Does anyone have any idea on what causes this, or could fixed this problem? Thank you.