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

[DataPipe] Fix a word in WebDS DataPipe #1156

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[DataPipe] Fix a word in WebDS DataPipe
[ghstack-poisoned]
  • Loading branch information
NivekT committed May 10, 2023
commit 483274f17a3244d14de886652ce8b35512fb7763
2 changes: 1 addition & 1 deletion torchdata/datapipes/iter/util/webdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def pathsplit(p):

The prefix is used for grouping files into samples,
the suffix is used as key in the output dictionary.
The suffix consists of all components after the last
The suffix consists of all components after the first
"." in the filename.

In torchdata, the prefix consists of the .tar file
Expand Down