From bfa054b9c3064628a21f4c35bbe3132964e91f43 Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Fri, 24 Sep 2021 01:05:40 +0100 Subject: [PATCH] delaying the removal (#3015) Signed-off-by: Wenqi Li --- monai/networks/nets/dynunet_v1.py | 2 +- monai/networks/nets/torchvision_fc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/monai/networks/nets/dynunet_v1.py b/monai/networks/nets/dynunet_v1.py index c6a54807e4..4c910157c9 100644 --- a/monai/networks/nets/dynunet_v1.py +++ b/monai/networks/nets/dynunet_v1.py @@ -24,7 +24,7 @@ @deprecated( since="0.6.0", - removed="0.7.0", + removed="0.8.0", msg_suffix="This module is for backward compatibility purpose only. Please use `DynUNet` instead.", ) class DynUNetV1(DynUNet): diff --git a/monai/networks/nets/torchvision_fc.py b/monai/networks/nets/torchvision_fc.py index 1619f877e7..d5bd6e9f57 100644 --- a/monai/networks/nets/torchvision_fc.py +++ b/monai/networks/nets/torchvision_fc.py @@ -73,7 +73,7 @@ def __init__( ) -@deprecated(since="0.6.0", removed="0.7.0", msg_suffix="Please consider using `TorchVisionFCModel` instead.") +@deprecated(since="0.6.0", removed="0.8.0", msg_suffix="Please consider using `TorchVisionFCModel` instead.") class TorchVisionFullyConvModel(TorchVisionFCModel): """ Customize TorchVision models to replace fully connected layer by convolutional layer.