Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
aaee8ff1
"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "aeac0a00f88dccce233c062f27d59028ed195d9f"
Unverified
Commit
aaee8ff1
authored
Oct 08, 2021
by
Nicolas Hug
Committed by
GitHub
Oct 08, 2021
Browse files
Added docs for reference scripts (#4574)
parent
566bab5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
docs/source/index.rst
docs/source/index.rst
+2
-1
docs/source/models.rst
docs/source/models.rst
+2
-0
docs/source/training_references.rst
docs/source/training_references.rst
+29
-0
No files found.
docs/source/index.rst
View file @
aaee8ff1
...
@@ -41,9 +41,10 @@ architectures, and common image transformations for computer vision.
...
@@ -41,9 +41,10 @@ architectures, and common image transformations for computer vision.
.. toctree::
.. toctree::
:maxdepth: 1
:maxdepth: 1
:caption: Examples
:caption: Examples
and training references
auto_examples/index
auto_examples/index
training_references
.. automodule:: torchvision
.. automodule:: torchvision
:members:
:members:
...
...
docs/source/models.rst
View file @
aaee8ff1
..
_models
:
torchvision
.
models
torchvision
.
models
##################
##################
...
...
docs/source/training_references.rst
0 → 100644
View file @
aaee8ff1
Training references
===================
On top of the many models, datasets, and image transforms, Torchvision also
provides training reference scripts. These are the scripts that we use to train
the :ref:`models <models>` which are then available with pre-trained weights.
These scripts are not part of the core package and are instead available `on
GitHub <https://github.com/pytorch/vision/tree/main/references>`_. We currently
provide references for
`classification <https://github.com/pytorch/vision/tree/main/references/classification>`_,
`detection <https://github.com/pytorch/vision/tree/main/references/detection>`_,
`segmentation <https://github.com/pytorch/vision/tree/main/references/segmentation>`_,
`similarity learning <https://github.com/pytorch/vision/tree/main/references/similarity>`_,
and `video classification <https://github.com/pytorch/vision/tree/main/references/video_classification>`_.
While these scripts are largely stable, they do not offer backward compatibility
guarantees.
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
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
release on GitHub, namely
https://github.com/pytorch/vision/tree/v0.10.0/references.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment