fyu / lsun

LSUN Dataset Documentation and Demo Code
531 stars 175 forks source link

The directory structure is not onsistent with meta list #51

Open GxjGit opened 1 year ago

GxjGit commented 1 year ago

Whe I export churches_lmdb to churches by cmd:

python3 data.py export churches_lmdb --out_dir churches

The directory structure like this: image

but the meta list is just only show the filename of the images: image I get the filelist from https://ommer-lab.com/files/lsun.zip

Is there any filelist that include the right subpath of images?

AlephZr commented 1 year ago

I did not generate a meta list, but I moved all files to a directory to match the meta list with the following command: find ./churches -name '*.*' | xargs -I files mv files ./churchesO

GxjGit commented 1 year ago

I did not generate a meta list, but I moved all files to a directory to match the meta list with the following command: find ./churches -name '*.*' | xargs -I files mv files ./churchesO

@AlephZr Thank you for your reply. This is really a good idea, I also solved it through a similar method.