diff --git a/docs/source/training_references.rst b/docs/source/training_references.rst index fc22ac5eba6..09091af4f18 100644 --- a/docs/source/training_references.rst +++ b/docs/source/training_references.rst @@ -21,7 +21,10 @@ In general, these scripts rely on the latest (not yet released) pytorch version or the latest torchvision version. This means that to use them, **you might need to install the latest pytorch and torchvision versions**, with e.g.:: - conda install pytorch torchvision -c pytorch-nightly + +.. code-block:: sh + pip install torch torchvision + If you need to rely on an older stable version of pytorch or torchvision, e.g. torchvision 0.10, then it's safer to use the scripts from that corresponding