ethnhe / raster_triangle

A simple renderer with z-buffer for synthesis data generating.
56 stars 21 forks source link

No error message, no pose pkl files generated #18

Closed MiriamJo closed 2 years ago

MiriamJo commented 2 years ago

I am confused on how the rgbd_renderer.py will not throw any errors, but won't render my rgb, mask and depth images corectly. With all of the LineMOD Example Meshes it does in fact create the data, and also visualises it with the --vis tag. However, when I try to apply it to my own data, nothing happens. I prepared my data in a LineMod Style, wirh all of the folders and required information.

Provided Structure for my new class:

When I run the script with python3 rgbd_renderer.py --cls myclass --render_num 1 --vis

it does come up with the usual output: cls: myclass begin loading myclass render set: lit [00:00, 20.69it/s]

But nothing happens. It does not create a folder in the renders folder or writes any other data. What am I missing?

MiriamJo commented 2 years ago

Update: The "file_list.txt" is being created, but without any content. it's just an empty txt file.

MiriamJo commented 2 years ago

Alright. I fixed the problem by generating Data with BlenderProc. It gives me all of the Data I need to complete the linemod mock data. After that, all of the files were generated completely. It would be really appreciated to add some more information for working with a custom dataset.

jasmine202106 commented 2 years ago

Hi, i met the same question with you, but i generated the custom dataset with ObjectDatasetTools. Could you please give me some help for the problem? thanks.