diffae icon indicating copy to clipboard operation
diffae copied to clipboard

I got the issue about lmdb: lmdb.Error: ffhq256.lmdb: No such file or directory

Open anhdao69 opened this issue 2 years ago • 7 comments

I have downloaded the dataset from google drive and put it into the datasets folder. However, I got this error. Could you help me to fix it?

Screenshot 2023-11-25 at 00 01 07

anhdao69 avatar Nov 25 '23 05:11 anhdao69

What's the error? Did you forget to upload it?

konpatp avatar Nov 25 '23 20:11 konpatp

I upload it and put it into the datasets folders. But I do not know what happend with the lmdb library. I even tried to download the dataset in a separate folder and tried to load it.

Screenshot 2023-11-25 at 17 07 15

I used this code to load the data

Screenshot 2023-11-25 at 17 08 52

But I got this error.

Screenshot 2023-11-25 at 17 08 42

anhdao69 avatar Nov 25 '23 22:11 anhdao69

I downloaded the ffhq256.lmdb from the google drive folder

anhdao69 avatar Nov 25 '23 22:11 anhdao69

I got the same error when running your code. In experiment.py

Screenshot 2023-11-25 at 17 12 16

Screenshot 2023-11-25 at 17 13 36

Screenshot 2023-11-25 at 17 13 50

anhdao69 avatar Nov 25 '23 22:11 anhdao69

I'm not familiar with the error at all. I don't see anything wrong with your setting. Judging from the fact that I haven't seen anyone having this error before I would guess that this error is specific to your case, sadly I do not have the bandwidth to replicate this error for you.

konpatp avatar Nov 25 '23 22:11 konpatp

The folder and the data exist but I'm getting the same error. Any thoughts @phizaz ?

ozturkoktay avatar Feb 28 '24 18:02 ozturkoktay

I figured out the issue. The reason for this name of the file in the ffhq.lmdb folder.

The name of the data and lock files should be exactly data.mdb and lock.mdb.

ozturkoktay avatar Feb 28 '24 19:02 ozturkoktay