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

Reading the LMDB data issue #10

Open
Armen-J opened this issue Nov 30, 2021 · 6 comments
Open

Reading the LMDB data issue #10

Armen-J opened this issue Nov 30, 2021 · 6 comments

Comments

@Armen-J
Copy link

Armen-J commented Nov 30, 2021

I have download the xa* data and followed the commands to create "data.mdb", but I run this code:

env = lmdb.open(lmdb_path, map_size=1099511627776, max_dbs = 64)
train_video = env.open_db("train_video".encode())

I get this error: "lmdb.PageNotFoundError: mdb_dbi_open: MDB_PAGE_NOTFOUND: Requested page not found"

Well, it seems strange because the data.mdb is almost 17 gigabytes

When I print the env.stat() I get this:
{'psize': 4096, 'depth': 1, 'branch_pages': 0, 'leaf_pages': 1, 'overflow_pages': 0, 'entries': 35}

@wuhaozhe
Copy link
Owner

wuhaozhe commented Dec 1, 2021

image
hi, I've gotten the following results. Please check your lmdb version, my version is 1.2.1

@Armen-J
Copy link
Author

Armen-J commented Dec 2, 2021

I have done all these steps, here is a screenshot of mine:
image

But the same thing again

@wuhaozhe
Copy link
Owner

wuhaozhe commented Dec 2, 2021

Well, I have no idea on how to solve this problem. I google this problem, NVIDIA/DIGITS#1460, one issue mentioned that you cannot use lmdb in NFS. Have you store lmdb in NFS?

@Armen-J
Copy link
Author

Armen-J commented Dec 2, 2021

No, not on NFS.
Well, the whole reason I want to read your Ted-HD database is to have access just to one sample of the data. So just for one short sample, I want to see:

  1. uv data (uv_data)
  2. background data (bg_data)
  3. aligned images (align_data)
  4. mouth data (mouth_data)

Is there anyway you could share videos for just one short sample of these 4?

@Armen-J
Copy link
Author

Armen-J commented Dec 2, 2021

And even to be more specific, I would like to know how you create the data for mouth and uv. For UV, do you create all frames with UVAtlas, or just one time and render the rest by using mesh_uv?

@wuhaozhe
Copy link
Owner

wuhaozhe commented Dec 2, 2021

just one time and render the rest by using mesh_uv, you can give me an email address and I'll send you the example.

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

2 participants