-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Hi!
I am using your code to generate the openpano dataset, but the number of images generated differs significantly from the number described in the paper and README.md. According to images_per_pano: 16 in the configuration file, I expected to generate 2325 * 16 = 37200 images, but only 33374 images were generated, which is about 3826 less than expected.
I have checked the code logic and found the following possible reasons:
In the generate_images_from_pano function, the generated images are skipped if they contain too many black pixels (more than 1%). I think it's the main reason for the reduced number of images.
n_pixels = perspective_image.shape[-2] * perspective_image.shape[-1]
valid = (torch.sum(perspective_image.sum(0) == 0) / n_pixels) < 0.01
if not valid:
logger.debug(f"Perspective {perspective_name} has too many black pixels.")
continueDespite my efforts to train the dataset, the results I obtained were lower than those reported in the paper. This is important for us to reproduce and improve these results. Therefore, I would like some advice to better understand the issue:
- Does the number of datasets mentioned in the paper include the skipped images?
- What steps can I take to maintain the count as illustrated in your paper?
Thank you for your help!