Synthetic data generation

Hello Friends,

I need some urgent help. I am generating a dataset of cardboxes placed over a pallet. In this code, I tried to first record a specific number of frames (num_frames) (say 20), then delete a box from the BOX_PATHS list and again record 20 frames then again delete boxes 1 and 2 from the BOX_PATHS list and again record 20 frames till 1 box is left on the pallet. But the problem in this code is, that the data is generated for each deletion (data for each deletion is saved in separate folders) till the last box deletion is done. It does not end after 20 frames are done. For example, the dataset with full boxes on the pallet will be generated till the last box in the list is deleted. But I want only 20 frames or num_frames per deletion. Please help. The files are attached.
SDG.zip (1.3 MB)

Thanks in advance.

Could you add more detail on how you are running this? it seems a custom writer could help. Let us know if you still have this issue.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.