Closed wyli closed 4 years ago
Cool summary!!
Cool summary!!
thanks we should update weekly if needed, keep adding new version sections on the top
Sounds good! And I will update our highlight features page based on this summary later. Thanks.
as v0.2.0 is feature ready, copying this page to the project wiki: https://github.com/Project-MONAI/MONAI/wiki/Notable-changes-between-0.1.0-and-0.2.0
Summary
As the codebase is under active development, the current master branch is well ahead of the milestone release on PyPI.
This ticket briefly summaries the changes since v0.1.0. It effectively compares the differences between:
and:
0.2.0rc3+14.g640852a - 2020-07-02
Added
monai.utils.enums
Changed
monai.utils
has all the submodule's class names0.2.0rc1+13.g379c959 - 2020-06-26
Added
Changed
RandCropByPosNegLabeld
supports one-hot sampling masklabel_key
RandCropByPosNegLabeld
,size
is renamed tospatial_size
NiftiSaver
andwrite_nifti
,output_shape
renamed tooutput_spatial_size
PNGSaver
andwrite_png
,output_shape
is renamed tooutput_spatial_size
interp_order
is renamed tomode
in all cases, to be consistent with the Pytorch APIsmode
is renamed topadding_mode
in all cases, to be consistent with the Pytorch APIs0.1.0+153.gc98da0d - 2020-06-18
Added
generic
runtests.sh
runtests.sh
psf/Black
KeyCollection
andIndexSelection
MONAI/research
folder for research demonstrations and prototypesrequirements-dev.txt
for setting up MONAI development environmentmonai.losses
TverskyLoss
inmonai.losses
FocalLoss
inmonai.losses
MaskedDiceLoss
as an extension ofDiceLoss
with additional mask inputs.monai.data
ZipDataset
andArrayDataset
inmonai.data
for flexible data loading with transformstrainer
andevaluator
workflow interfaces and utilities inmonai.engines
(extending pytorch-ignite)monai.data
monai.data.DataLoader
with improved default values fortorch.utils.data.DataLoader
worker_init_fn
utility inmonai.data.utils
to enhance the DataLoader's default behavior when loading with randomized transformsutilities
set_determinism
method inmonai.utils
monai.handlers
monai.handlers
CheckpointSaver
andCheckpointLoader
event handers inmonai.handlers
monai.transforms
SimulateDelay/SimulateDelayd
Transforms for improved usabilityDataStats/DataStatsd
Transforms for improved usabilitySplitChannel/SplitChanneld
Transforms inmonai.transforms
Activation/Activationd
Transforms inmonai.transforms
AsDiscrete/AsDiscreted
Transforms inmonai.transforms
SqueezeDim/SqueezeDimd
Transforms inmonai.transforms
KeepLargestConnectedComponent/KeepLargestConnectedComponent
Transforms inmonai.transforms
Identity/Identityd
Transforms inmonai.transforms
monai.transforms
monai.transforms
monai.application
MedNISTDataset
inmonai.application
with automatic downloading and decompressingmonai.networks
AffineTransforms
inmonai.networks.layers
for trainable affine transformationsmonai.networks.blocks
monai.networks.blocks
monai.networks.blocks
monai.networks.layers.LayerFactory
Changed
generic
nvcr.io/nvidia/pytorch:20.03-py3
fromnvcr.io/nvidia/pytorch:19.10-py3
add_sigmoid/do_sigmoid
tosigmoid
,add_softmax/do_softmax
tosoftmax
psf/Black
monai.transforms
monai.transforms.transforms
into sub-modules, such asmonai.transforms.intensity
image_only
option toLoadPNG
andLoadPNGd
transforms (to track the original metadata such as filename)dtype=
option in intensity and spatial transforms inmonai.transforms
nearest
oredge
in various transforms (instead of padding with Constant)Zoom/Zoomd
defaults tokeep_size=True
(instead ofkeep_size=False
)monai.transforms.spatial
is now implemented with Pytorch native interfaces (instead ofscipy
,scikit-image
)monai.transforms.spatial
interpolation order and padding mode options changed to accept only Pytorch supported choicesmonai.transforms.util.apply_transform
accepts new argumentmap_iterms: bool
(defaults toTrue
){"image": array, "image_meta_dict": {"affine": array, "original_affine": array}}
DeleteKeys/Deletekesd
Transforms renamed toDeleteItems/DeleteItemsd
inmonai.transforms
__call__
, in addtion to those in__init__
.monai.data.nifti_reader.load_nifti
tomonai.data.transforms.io
monai.networks
monai.networks.layers
now accepts anisotropic sigmasmonai.metrics
one_hot
implementation changed for better performanceone_hot
accepts new optional argumentdtype
, defaults totorch.float
overlap
ratio andblending_mode
in sliding window inference inmonai.inferer
compute_meandice
is refactored toDiceMetric
with a callable interface inmonai.metrics
monai.data
monai.data.sliding_window_inferences
tomonai.inferers
monai.data.synthetic
accepts new optional argumentrandom_state
(defaults toNone
)monai.handlers
monai.handlers
modules at first time importing monaimonai.config.print_confg()
now prints optional dependency informationutilities
monai.utils.misc.ensure_tuple
now converts string as a single element (ensure_tuple("test") -> ("test",)
instead of("t", "e", "s", "t")
Fixed
Removed
pytorch-ignite==0.3.0
,nibabel
,tensorboard
,pillow
,scipy
,scikit-image