Unverified Commit 28f6978b authored by Saswat Das's avatar Saswat Das Committed by GitHub
Browse files

added serialization note to models docs (#4361)


Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
parent af228fa8
...@@ -7,6 +7,15 @@ different tasks, including: image classification, pixelwise semantic ...@@ -7,6 +7,15 @@ different tasks, including: image classification, pixelwise semantic
segmentation, object detection, instance segmentation, person segmentation, object detection, instance segmentation, person
keypoint detection and video classification. keypoint detection and video classification.
.. note ::
Backward compatibility is guaranteed for loading a serialized
`state_dict` to the model created using old PyTorch version.
On the contrary, loading entire saved models or serialized
`ScriptModules` (seralized using older versions of PyTorch)
will preserve the historic behaviour. Refer to the following
`documentation
<https://pytorch.org/docs/stable/notes/serialization.html#id6>`_
Classification Classification
============== ==============
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment