Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Johnx69 opened this issue Nov 25, 2023 · 7 comments

Comments

@Johnx69
Copy link

Johnx69 commented Nov 25, 2023

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

@phizaz
Copy link
Owner

phizaz commented Nov 25, 2023

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

@Johnx69
Copy link
Author

Johnx69 commented Nov 25, 2023

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

@Johnx69
Copy link
Author

Johnx69 commented Nov 25, 2023

I downloaded the ffhq256.lmdb from the google drive folder

@Johnx69
Copy link
Author

Johnx69 commented Nov 25, 2023

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

@phizaz
Copy link
Owner

phizaz commented Nov 25, 2023

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.

@ozturkoktay
Copy link

ozturkoktay commented Feb 28, 2024

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

@ozturkoktay
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants