-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from mrphys/develop
Release 0.20.0
- Loading branch information
Showing
30 changed files
with
2,132 additions
and
169 deletions.
There are no files selected for viewing
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,34 @@ | ||
Release 0.19.0 | ||
Release 0.20.0 | ||
============== | ||
|
||
This release bumps the supported TensorFlow version to 2.9. | ||
|
||
Major Features and Improvements | ||
------------------------------- | ||
|
||
* ``tfmri.image``: | ||
|
||
* Added new arguments ``batch_dims`` and ``image_dims`` to | ||
``image_gradients``, ``gradient_magnitude``, ``psnr``, ``ssim`` and | ||
``ssim_multiscale``. | ||
* Argument ``rank`` of ``psnr``, ``ssim`` and ``ssim_multiscale`` is now | ||
deprecated. To update, use ``image_dims`` instead. | ||
* ``image_gradients`` and ``gradient_magnitude`` now support complex inputs. | ||
|
||
* ``tfmri.losses``: | ||
* ``tfmri.layers``: | ||
|
||
* Added new arguments ``batch_dims`` and ``image_dims`` to all image quality | ||
losses. Argument ``rank`` is now deprecated (use ``image_dims`` instead). | ||
* Added new arguments ``multichannel`` and ``complex_part`` to all image | ||
quality losses. These mirror the behaviour of the corresponding metrics | ||
and allows for single-channel inputs and extraction of parts from complex | ||
numbers, respectively. | ||
* The canonical API names ``StructuralSimilarityLoss`` and | ||
``MultiscaleStructuralSimilarityLoss`` have been | ||
changed to ``SSIMLoss`` and ``SSIMMultiscaleLoss``, respectively. The | ||
old names are still available, but may be removed in the future. | ||
* Added new layers ``MaxPooling1D``, ``MaxPooling2D``, ``MaxPooling3D``, | ||
``AveragePooling1D``, ``AveragePooling2D`` and ``AveragePooling3D``. | ||
These are drop-in replacements for the core Keras layers of the same name, | ||
but they also support complex values. | ||
* Added new layers ``DWT1D``, ``DWT2D``, ``DWT3D``, ``IDWT1D``, ``IDWT2D``, | ||
and ``IDWT3D`` to compute 1D, 2D and 3D forward and inverse discrete wavelet | ||
transforms. | ||
* Layer ``ConvBlock`` is now deprecated in favor of the new endpoints in | ||
the ``tfmri.models`` submodule. | ||
* Layer ``UNet`` is now deprecated in favor of the new endpoints in | ||
the ``tfmri.models`` submodule. | ||
|
||
* ``tfmri.metrics``: | ||
* ``tfmri.models``: | ||
|
||
* Image quality metrics can now accept complex inputs without also specifying | ||
``complex_part``, in which case the unmodified complex values will be passed | ||
to the downstream function. This may not be supported for all metrics. | ||
* Added new arguments ``batch_dims`` and ``image_dims`` to all image quality | ||
metrics. Argument ``rank`` is now deprecated (use ``image_dims`` instead). | ||
* The canonical API names ``PeakSignalToNoiseRatio``, | ||
``StructuralSimilarity`` and ``MultiscaleStructuralSimilarity`` have been | ||
changed to ``PSNR``, ``SSIM`` and ``SSIMMultiscale``, respectively. The | ||
old names are still available, but may be removed in the future. | ||
* Added new models ``ConvBlock1D``, ``ConvBlock2D`` and ``ConvBlock3D``. These | ||
replace the previous ``ConvBlock`` layer, which is now deprecated. | ||
* Added new models ``UNet1D``, ``UNet2D`` and ``UNet3D``. These replace | ||
the previous ``UNet`` layer, which is now deprecated. | ||
|
||
* ``tfmri.recon``: | ||
|
||
* Added new argument ``preserve_phase`` to ``tfmri.recon.pf``. This allows | ||
the user to recover the phase as well as the magnitude during partial | ||
Fourier reconstruction. Argument ``return_complex`` has the same behaviour | ||
and is now deprecated. | ||
* Added new aliases ``adjoint`` (for ``adj``), ``least_squares`` | ||
(for ``lstsq``) and ``partial_fourier`` (for ``pf``). These are now the | ||
canonical aliases, but the old ones will still be supported. | ||
|
||
* ``tfmri.signal``: | ||
|
||
* Added new ops ``dwt`` and ``idwt`` to compute the N-dimensional discrete | ||
wavelet transform and its inverse, respectively. | ||
|
||
* ``tfmri.plot``: | ||
|
||
* Added new argument ``norm`` to ``image_sequence``, ``tiled_image`` and | ||
``tiled_image_sequence``. This allows the user to specify the scaling | ||
to be applied before the colormap. | ||
|
||
Bug Fixes and Other Changes | ||
--------------------------- | ||
|
||
* Fixed a bug with *k*-space weighting in homodyne detection method of | ||
``tfmri.recon.partial_fourier``. | ||
* Like core TensorFlow, we now compile with ``_GLIBCXX_USE_CXX11_ABI=1``. | ||
* Like core TensorFlow, Python wheels now conform to ``manylinux2014``, an | ||
upgrade from ``manylinux2010``. | ||
* ``tfmri.signal``: | ||
|
||
* Improved static shape inference for ``dwt`` op. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
__summary__ = "A collection of TensorFlow add-ons for computational MRI." | ||
__uri__ = "https://github.com/mrphys/tensorflow-mri" | ||
|
||
__version__ = "0.19.0" | ||
__version__ = "0.20.0" | ||
|
||
__author__ = "Javier Montalt Tordera" | ||
__email__ = "[email protected]" | ||
|
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This file was automatically generated by tools/build/create_api.py. | ||
# Do not edit. | ||
"""Keras models.""" | ||
|
||
from tensorflow_mri.python.models.conv_blocks import ConvBlock1D as ConvBlock1D | ||
from tensorflow_mri.python.models.conv_blocks import ConvBlock2D as ConvBlock2D | ||
from tensorflow_mri.python.models.conv_blocks import ConvBlock3D as ConvBlock3D | ||
from tensorflow_mri.python.models.conv_endec import UNet1D as UNet1D | ||
from tensorflow_mri.python.models.conv_endec import UNet2D as UNet2D | ||
from tensorflow_mri.python.models.conv_endec import UNet3D as UNet3D |
This file contains 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 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 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 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 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.