lsun icon indicating copy to clipboard operation
lsun copied to clipboard

How to extract jpg from mdb files

Open DiiaanaD opened this issue 6 years ago • 7 comments

Hello,

I just download the bedroom data and right now I have in lsun-folder a bedroom_train_lmdb.zip. I tried to extract jpg from it using the command "python data.py export bedroom_train_imdb.zip/bedroom_train_lmdb --out_dir bedroom" and I receive the following error: lmdb.Error: bedroom_train_lmdb.zip/bedroom_train_lmdb: The system cannot find the path specified.

Same error for command: "python data.py export bedroom_train_imdb.zip --out_dir bedroom

Could you please give me a hint what am I doing wrong?

Thanks, Diana

DiiaanaD avatar Aug 17 '17 20:08 DiiaanaD

in case you're still wondering, extract your zip file first, then specify the dir in which mdb files are located

fajarnuha avatar Nov 28 '17 05:11 fajarnuha

I can't even unzip the file using unzip test_lmbd.zip

htwang14 avatar Jan 04 '22 03:01 htwang14

I can't even unzip the file using unzip test_lmbd.zip

same problem

YingqingHe avatar May 04 '22 02:05 YingqingHe

I can't even unzip the file using unzip test_lmbd.zip

Have you solved this?

YingqingHe avatar May 04 '22 02:05 YingqingHe

I can't even unzip the file using unzip test_lmbd.zip

Have you solved this?

Not really. But I found some other repos providing directly downloadable (resized) LSUN test sets (e.g., here), which serves my purpose. Not sure whether this is helpful for you.

htwang14 avatar May 04 '22 02:05 htwang14

I can't even unzip the file using unzip test_lmbd.zip

Have you solved this?

Not really. But I found some other repos providing directly downloadable (resized) LSUN test sets (e.g., here), which serves my purpose. Not sure whether this is helpful for you.

Thanks!!!

YingqingHe avatar May 04 '22 03:05 YingqingHe

get rename zip and unzip

osmanseemsfun avatar Dec 21 '22 13:12 osmanseemsfun