fyu / lsun

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

How to extract jpg from mdb files #8

Open DiiaanaD opened 7 years ago

DiiaanaD commented 7 years ago

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

fajarnuha commented 6 years ago

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

htwang14 commented 2 years ago

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

YingqingHe commented 2 years ago

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

same problem

YingqingHe commented 2 years ago

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

Have you solved this?

htwang14 commented 2 years ago

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.

YingqingHe commented 2 years ago

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!!!

lineeralgebra commented 1 year ago

get rename zip and unzip