Attention U-Net for OASIS Brain Tissue Segmentation#286
Open
ywbrian wants to merge 18 commits intoshakes76:topic-recognitionfrom
Open
Attention U-Net for OASIS Brain Tissue Segmentation#286ywbrian wants to merge 18 commits intoshakes76:topic-recognitionfrom
ywbrian wants to merge 18 commits intoshakes76:topic-recognitionfrom
Conversation
Create OASISDataset class to load dataset from files
- Add ConvBlock class to perform double convolution at encoder and decoder stages. - Add AttentionBlock class to filter intermediate-scale features before merging skip connections.
Added a figure illustrating the Attention U-Net architecture and its source information.
Added DiceLoss and CombinedLoss classes for segmentation tasks.
Added dice coefficient calculation for evaluation and updated training epoch function.
Added main function to initialize datasets, loaders, and model.
Added a function to auto-detect label mapping, number of classes, and image size from segmentation masks. Updated NUM_CLASSES to be determined dynamically.
Collaborator
|
<This is an initial inspection, no action is required at this point.> File Organizing: Problem Solving:
Model and functions:
Code design: Functional works. Code comment and docstring:
Difficulty: Easy. Additional Comments:
|
Collaborator
|
Hi there, Please provide your student number or full name; otherwise, we won’t be able to allocate your marks. |
Collaborator
Marking
Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Author
Check the bottom of the README |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An Attention U-Net model that performs semantic segmentations of brain MRI scans from the OASIS dataset.