-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Meta tensor load image #4130
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
Merged
Merged
Meta tensor load image #4130
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
2622402
collate , decollate, dataset, dataloader, out=
rijobro 19e68c9
mypy
rijobro d017918
skip decollation for pytorch 1.7
rijobro b36cd10
fix
rijobro a8f0373
fix
rijobro c6ae90d
Merge branch 'dev' into MetaTensor_collate_decollate
rijobro 12afd4a
add batch index testing
rijobro f7a583e
Merge remote-tracking branch 'MONAI/dev' into MetaTensor_collate_deco…
rijobro fb9b10f
fixes
rijobro 4875784
fix
rijobro b307d46
fix
rijobro e40553a
fix
rijobro f2c2548
fix
rijobro f9fd14a
load image meta tensor
rijobro 9a4bbb4
Merge branch 'MetaTensor_collate_decollate' into MetaTensorLoadImage
rijobro b227fdd
splitdims fix
rijobro 603cdb5
flake8
rijobro 226b104
Merge branch 'MetaTensor' into MetaTensorLoadImage
rijobro 91eff3a
fix test_nifti_rw
rijobro 0f548c6
test_smartcachedataset
rijobro 7e3b50c
test fixes
rijobro 549c2ee
test fixes
rijobro 3563bc3
Merge remote-tracking branch 'MONAI/dev' into MetaTensorLoadImage
rijobro 55f483a
fix
rijobro ef01504
fixes
rijobro 752ed8b
fix
rijobro 76c6459
fixes
rijobro 5df8709
Merge remote-tracking branch 'MONAI/dev' into MetaTensorLoadImage
rijobro b1e19eb
Merge branch 'MetaTensor' into MetaTensorLoadImage
wyli ad1d780
fix wsi test
rijobro 9e7b3d6
changes after code review
rijobro 8cb4634
Merge branch 'MetaTensor' into MetaTensorLoadImage
wyli ad58d79
fixes unit tests
wyli 2fb16f9
fixes: TypeError: __str__ returned non-string (type list)
wyli c74f0b3
fixes unit test tests.test_lr_finder
wyli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
I think this line should be reverted, I think the output should be the same as
torch.Tensor, but with the extra metadata (now we have metadata instead of voxel data). @wyli what do you think?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.
sure, please feel free to change, the corresponding test case is this line:
MONAI/tests/test_meta_tensor.py
Line 201 in 18fca88