File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,10 @@ def setup_common_training_handlers(
9393 class to use to store ``to_save``. See :class:`~ignite.handlers.checkpoint.Checkpoint` for more details.
9494 Argument is mutually exclusive with ``output_path``.
9595 kwargs: optional keyword args to be passed to construct :class:`~ignite.handlers.checkpoint.Checkpoint`.
96- device: deprecated argument, it will be removed in v0.5.0 .
96+ device: deprecated argument, it will be removed in 0.4.14 .
9797 """
9898 if device is not None :
99- warnings .warn ("Argument device is unused and deprecated. It will be removed in v0.5.0 " )
99+ warnings .warn ("Argument device is unused and deprecated. It will be removed in 0.4.14 " )
100100
101101 if idist .get_world_size () > 1 :
102102 _setup_common_distrib_training_handlers (
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def on_every_10_epochs(engine):
5656 def __init__ (self , n_iterations = None , n_epochs = None ):
5757
5858 warnings .warn (
59- "CustomPeriodicEvent is deprecated since 0.4.0 and will be removed in 0.5.0 . Use filtered events instead." ,
59+ "CustomPeriodicEvent is deprecated since 0.4.0 and will be removed in 0.4.14 . Use filtered events instead." ,
6060 DeprecationWarning ,
6161 )
6262
Original file line number Diff line number Diff line change @@ -834,7 +834,7 @@ def switch_batch(engine):
834834 """
835835 if seed is not None :
836836 warnings .warn (
837- "Argument seed is deprecated. It will be removed in 0.5.0 . "
837+ "Argument seed is deprecated. It will be removed in 0.4.14 . "
838838 "Please, use torch.manual_seed or ignite.utils.manual_seed"
839839 )
840840
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ class CallableEvents(CallableEventWithFilter):
208208 def __init__ (self , * args : Any , ** kwargs : Any ) -> None :
209209 super (CallableEvents , self ).__init__ (* args , ** kwargs )
210210 warnings .warn (
211- "Class ignite.engine.events.CallableEvents is deprecated. It will be removed in 0.5.0 . "
211+ "Class ignite.engine.events.CallableEvents is deprecated. It will be removed in 0.4.14 . "
212212 "Please, use ignite.engine.EventEnum instead" ,
213213 DeprecationWarning ,
214214 )
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ def __init__(
322322 if global_step_transform is not None and not callable (global_step_transform ):
323323 raise TypeError (f"global_step_transform should be a function, got { type (global_step_transform )} instead." )
324324 if archived :
325- warnings .warn ("Argument archived is deprecated and will be removed in 0.5.0 " )
325+ warnings .warn ("Argument archived is deprecated and will be removed in 0.4.14 " )
326326
327327 self .to_save = to_save
328328 self .filename_prefix = filename_prefix
@@ -983,11 +983,11 @@ def __init__(
983983 if not save_as_state_dict :
984984 raise ValueError (
985985 "Argument save_as_state_dict is deprecated and should be True."
986- "This argument will be removed in 0.5.0 ."
986+ "This argument will be removed in 0.4.14 ."
987987 )
988988 if save_interval is not None :
989989 msg = (
990- "Argument save_interval is deprecated and should be None. This argument will be removed in 0.5.0 ."
990+ "Argument save_interval is deprecated and should be None. This argument will be removed in 0.4.14 ."
991991 "Please, use events filtering instead, e.g. Events.ITERATION_STARTED(every=1000)"
992992 )
993993 if save_interval == 1 :
You can’t perform that action at this time.
0 commit comments