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

alobugdays- dataset from directory #248

Merged
merged 6 commits into from
Nov 17, 2022
Merged

alobugdays- dataset from directory #248

merged 6 commits into from
Nov 17, 2022

Conversation

Data-Iab
Copy link
Collaborator

@Data-Iab Data-Iab commented Nov 17, 2022

General description of your pull request with the list of new features and/or bugs.

path1 = "PATH/TO/DIR/WITH/IMAGES1"
path2 = "PATH/TO/DIR/WITH/IMAGES2"

dataset = FromDirectoryDataset(dirs={"right": [path1, path1], "left": [path2, path2]}, slice=[0.2, 0.3])

# Will return dictionary  {"right": img1, "left": img2}
sample1 = dataset[0]

This pull request includes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@Data-Iab Data-Iab self-assigned this Nov 17, 2022
@Data-Iab Data-Iab changed the title Custom dataset alobugdays- dataset from directory Nov 17, 2022
@anhtu293 anhtu293 self-requested a review November 17, 2022 09:45
@Data-Iab Data-Iab merged commit 413335d into alobugdays Nov 17, 2022
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

Successfully merging this pull request may close these issues.

2 participants