Open GxjGit opened 1 year ago
python3 data.py export churches_lmdb --out_dir churches --flat
Hello @1999kevin,
When I follow the docs for download (on https://github.com/fyu/lsun) I am left with some .zip files, when I unzip those I can extract the files and get them in the .webp extension. However, I dont have any summation/meta data on the specific dataset. I.e., I get this FileNotFoundError: [Errno 2] No such file or directory: 'data/lsun/church_outdoor_train.txt
. How do I get the church_outdoor_train.txt?
@TorAP I could get the meta data from ls -1 data/lsun/church > data/lsun/church_outdoor_train.txt
Yes, I did the same. :)
Yes, I did the same. :)
here https://ommer-lab.com/files/lsun.zip You can find the link in the readme.
I prepared my data following README:
Whe I export churches_lmdb to churches by cmd:
python3 data.py export churches_lmdb --out_dir churches
The directory structure like this:
but the meta list is just only show the filename of the images:
I checked the code like
In this way, the file name and rootpath are directly spliced together, and the intermediate directory has not been considered.