Describe the bug
FastMRI reader outputs Tensor during inference, which is not supported by LoadImage Transform
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Install '....'
- Run commands '....'
Expected behavior
switch_endianness function reports the bug, due to unsupport of torch.Tensor output by FastMRI reader.
We should either let FastMRI reader to output numpy array, or let switch_endianness support Tensor.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Ensuring you use the relevant python executable, please paste the output of:
python -c 'import monai; monai.config.print_debug_info()'
Additional context
Add any other context about the problem here.
Describe the bug
FastMRI reader outputs Tensor during inference, which is not supported by LoadImage Transform
To Reproduce
Steps to reproduce the behavior:
Expected behavior
switch_endianness function reports the bug, due to unsupport of torch.Tensor output by FastMRI reader.
We should either let FastMRI reader to output numpy array, or let switch_endianness support Tensor.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Ensuring you use the relevant python executable, please paste the output of:
Additional context
Add any other context about the problem here.