Skip to content

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Feb 8, 2022

Closes #5345.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Feb 8, 2022

💊 CI failures summary and remediations

As of commit 66ba84a (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Comment on lines +72 to +75
def _loader(self, path: pathlib.Path) -> IterDataPipe[str]:
# LMDB datasets cannot be loaded through an open file handle, but have to be loaded through the path of the
# parent directory.
return IterableWrapper([str(next(path.rglob("data.mdb")).parent)])
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NicolasHug this would have been supported with the loader parameter we removed in #5282. But I guess since this is (currently) the only case that needs this, we can special case it.

This was referenced Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LSUN
2 participants