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
bbb4a9a1
"projects/TensorMask/train_net.py" did not exist on "5b3792fc3ef9ab6a6f8f30634ab2e52fb0941af3"
Unverified
Commit
bbb4a9a1
authored
Mar 12, 2020
by
NVS Abhilash
Committed by
GitHub
Mar 12, 2020
Browse files
Add warning and note docs for scipy (#1842) (#1966)
parent
b70e333a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
docs/source/models.rst
docs/source/models.rst
+9
-1
torchvision/datasets/caltech.py
torchvision/datasets/caltech.py
+4
-0
torchvision/datasets/svhn.py
torchvision/datasets/svhn.py
+4
-0
No files found.
docs/source/models.rst
View file @
bbb4a9a1
...
...
@@ -183,11 +183,19 @@ Inception v3
.. autofunction:: inception_v3
.. note ::
This requires `scipy` to be installed
GoogLeNet
------------
.. autofunction:: googlenet
.. note ::
This requires `scipy` to be installed
ShuffleNet v2
-------------
...
...
torchvision/datasets/caltech.py
View file @
bbb4a9a1
...
...
@@ -10,6 +10,10 @@ from .utils import download_and_extract_archive, makedir_exist_ok, verify_str_ar
class
Caltech101
(
VisionDataset
):
"""`Caltech 101 <http://www.vision.caltech.edu/Image_Datasets/Caltech101/>`_ Dataset.
.. warning::
This class needs `scipy <https://docs.scipy.org/doc/>`_ to load target files from `.mat` format.
Args:
root (string): Root directory of dataset where directory
``caltech101`` exists or will be saved to if download is set to True.
...
...
torchvision/datasets/svhn.py
View file @
bbb4a9a1
...
...
@@ -13,6 +13,10 @@ class SVHN(VisionDataset):
we assign the label `0` to the digit `0` to be compatible with PyTorch loss functions which
expect the class labels to be in the range `[0, C-1]`
.. warning::
This class needs `scipy <https://docs.scipy.org/doc/>`_ to load data from `.mat` format.
Args:
root (string): Root directory of dataset where directory
``SVHN`` exists.
...
...
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