Skip to content

Fail to train model, Num images: 0 #35

@rod409

Description

@rod409

When I try to train the model on cityscapes I get an error that the num_samples is zero. The script will print that the "Num images: 0" during execution. I am not sure what I need to change. One thing I found is in line 48 of cityscapes.py.

self.images = list(sorted(self.images_dir.glob('/.ppm')))

What files do the .ppm refer to in the cityscapes data? I only see .png files when downloading the cityscapes dataset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions