-
Notifications
You must be signed in to change notification settings - Fork 7k
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
add LSUN prototype dataset #5390
base: main
Are you sure you want to change the base?
Conversation
💊 CI failures summary and remediationsAs 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. |
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)]) |
There was a problem hiding this comment.
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.
Closes #5345.