Skip to content

RuntimeError: Found 0 images in subfolders of: ./data #236

Description

@bemoregt

Hi, @smartkiwi @ezyang @Smerity @dnouri @bartolsthoorn

I met this error in DCGAN training with folder mode
$ python3 main.py --dataset folder --dataroot './data'

File "/usr/local/lib/python3.5/dist-packages/torchvision/datasets/folder.py", line 97, in init
"Supported image extensions are: " + ",".join(IMG_EXTENSIONS)))
RuntimeError: Found 0 images in subfolders of: ./data
Supported image extensions are: .jpg,.JPG,.jpeg,.JPEG,.png,.PNG,.ppm,.PPM,.bmp,.BMP

But, There are many jpg images in ../dcgan/data folder.
What's wrong with me?

Thanks in advance .

Ubuntu 16.04 LTS
1080ti

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions