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

Added a SegDataset class for the segmentation task #1334

Closed
wants to merge 1 commit into from
Closed

Added a SegDataset class for the segmentation task #1334

wants to merge 1 commit into from

Conversation

msminhas93
Copy link

Added a class for handling segmentation data. It gives you access to image,mask pairs. I've defined 4 transforms for the same: (1) Resize (2) ToTensor (3) Normalize (4) Lambda. Additionally, there are two helper functions for creating dataloaders either from a single dataset folder or from separate 'Train' and 'Test' folders. @fmassa your feedback would be greatly appreciated. If there are any suggestion I'll be happy to discuss those and contribute to the community. #424 #1330 #1315

Added a class for handling segmentation data. It gives you access to image,mask pairs. I've defined 4 transforms for the same: (1) Resize (2) ToTensor (3) Normalize (4) Lambda. Additionally, there are two helper functions for creating dataloaders either from a single dataset folder or from separate 'Train' and 'Test' folders.
@SebastienEske
Copy link

Hello, I just made this pull request which is probably more generic and uses torchvision transforms

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