Skip to content

Commit ab65047

Browse files
Deploy to GitHub Pages on master [ci skip]
1 parent 1772887 commit ab65047

File tree

300 files changed

+448
-329
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+448
-329
lines changed

CODE_OF_CONDUCT.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to make participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies within all project spaces, and it also applies when
49+
an individual is representing the project or its community in public spaces.
50+
Examples of representing a project or community include using an official
51+
project e-mail address, posting via an official social media account, or acting
52+
as an appointed representative at an online or offline event. Representation of
53+
a project may be further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at <opensource-conduct@fb.com>. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

CONTRIBUTING.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Contributing to hub
2+
We want to make contributing to this project as easy and transparent as
3+
possible.
4+
5+
## Pull Requests
6+
We actively welcome your pull requests.
7+
8+
1. Fork the repo and create your branch from `master`.
9+
2. If you've added code that should be tested, add tests.
10+
3. If you've changed APIs, update the documentation.
11+
4. Ensure the test suite passes.
12+
5. Make sure your code lints.
13+
6. If you haven't already, complete the Contributor License Agreement ("CLA").
14+
15+
## Contributor License Agreement ("CLA")
16+
In order to accept your pull request, we need you to submit a CLA. You only need
17+
to do this once to work on any of Facebook's open source projects.
18+
19+
Complete your CLA here: <https://code.facebook.com/cla>
20+
21+
## Issues
22+
We use GitHub issues to track public bugs. Please ensure your description is
23+
clear and has sufficient instructions to be able to reproduce the issue.
24+
25+
Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
26+
disclosure of security bugs. In those cases, please go through the process
27+
outlined on that page and do not file a public issue.
28+
29+
## License
30+
By contributing to hub, you agree that your contributions will be licensed
31+
under the LICENSE file in the root directory of this source tree.

assets/hub/CODE_OF_CONDUCT.ipynb

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cells": [],
3+
"metadata": {},
4+
"nbformat": 4,
5+
"nbformat_minor": 2
6+
}

assets/hub/CONTRIBUTING.ipynb

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cells": [],
3+
"metadata": {},
4+
"nbformat": 4,
5+
"nbformat_minor": 2
6+
}

assets/hub/pytorch_vision_alexnet.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"outputs": [],
2828
"source": [
2929
"import torch\n",
30-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'alexnet', pretrained=True)\n",
30+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'alexnet', pretrained=True)\n",
3131
"model.eval()"
3232
]
3333
},

assets/hub/pytorch_vision_deeplabv3_resnet101.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"outputs": [],
2828
"source": [
2929
"import torch\n",
30-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'deeplabv3_resnet101', pretrained=True)\n",
30+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'deeplabv3_resnet101', pretrained=True)\n",
3131
"model.eval()"
3232
]
3333
},

assets/hub/pytorch_vision_densenet.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
"outputs": [],
2828
"source": [
2929
"import torch\n",
30-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'densenet121', pretrained=True)\n",
30+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'densenet121', pretrained=True)\n",
3131
"# or any of these variants\n",
32-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'densenet169', pretrained=True)\n",
33-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'densenet201', pretrained=True)\n",
34-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'densenet161', pretrained=True)\n",
32+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'densenet169', pretrained=True)\n",
33+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'densenet201', pretrained=True)\n",
34+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'densenet161', pretrained=True)\n",
3535
"model.eval()"
3636
]
3737
},

assets/hub/pytorch_vision_fcn_resnet101.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"outputs": [],
2828
"source": [
2929
"import torch\n",
30-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'fcn_resnet101', pretrained=True)\n",
30+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'fcn_resnet101', pretrained=True)\n",
3131
"model.eval()"
3232
]
3333
},

assets/hub/pytorch_vision_googlenet.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"outputs": [],
2828
"source": [
2929
"import torch\n",
30-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'googlenet', pretrained=True)\n",
30+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'googlenet', pretrained=True)\n",
3131
"model.eval()"
3232
]
3333
},

assets/hub/pytorch_vision_inception_v3.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"outputs": [],
2626
"source": [
2727
"import torch\n",
28-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'inception_v3', pretrained=True)\n",
28+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'inception_v3', pretrained=True)\n",
2929
"model.eval()"
3030
]
3131
},

assets/hub/pytorch_vision_mobilenet_v2.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"outputs": [],
2828
"source": [
2929
"import torch\n",
30-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'mobilenet_v2', pretrained=True)\n",
30+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'mobilenet_v2', pretrained=True)\n",
3131
"model.eval()"
3232
]
3333
},

assets/hub/pytorch_vision_resnet.ipynb

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
"outputs": [],
2626
"source": [
2727
"import torch\n",
28-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'resnet18', pretrained=True)\n",
28+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'resnet18', pretrained=True)\n",
2929
"# or any of these variants\n",
30-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'resnet34', pretrained=True)\n",
31-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'resnet50', pretrained=True)\n",
32-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'resnet101', pretrained=True)\n",
33-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'resnet152', pretrained=True)\n",
30+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'resnet34', pretrained=True)\n",
31+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'resnet50', pretrained=True)\n",
32+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'resnet101', pretrained=True)\n",
33+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'resnet152', pretrained=True)\n",
3434
"model.eval()"
3535
]
3636
},

assets/hub/pytorch_vision_resnext.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"outputs": [],
2626
"source": [
2727
"import torch\n",
28-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'resnext50_32x4d', pretrained=True)\n",
28+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'resnext50_32x4d', pretrained=True)\n",
2929
"# or\n",
30-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'resnext101_32x8d', pretrained=True)\n",
30+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'resnext101_32x8d', pretrained=True)\n",
3131
"model.eval()"
3232
]
3333
},

assets/hub/pytorch_vision_shufflenet_v2.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"outputs": [],
2828
"source": [
2929
"import torch\n",
30-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'shufflenet_v2_x1_0', pretrained=True)\n",
30+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'shufflenet_v2_x1_0', pretrained=True)\n",
3131
"model.eval()"
3232
]
3333
},

assets/hub/pytorch_vision_squeezenet.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"outputs": [],
2626
"source": [
2727
"import torch\n",
28-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'squeezenet1_0', pretrained=True)\n",
28+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'squeezenet1_0', pretrained=True)\n",
2929
"# or\n",
30-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'squeezenet1_1', pretrained=True)\n",
30+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'squeezenet1_1', pretrained=True)\n",
3131
"model.eval()"
3232
]
3333
},

assets/hub/pytorch_vision_vgg.ipynb

+8-8
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
"outputs": [],
2626
"source": [
2727
"import torch\n",
28-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'vgg11', pretrained=True)\n",
28+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'vgg11', pretrained=True)\n",
2929
"# or any of these variants\n",
30-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'vgg11_bn', pretrained=True)\n",
31-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'vgg13', pretrained=True)\n",
32-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'vgg13_bn', pretrained=True)\n",
33-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'vgg16', pretrained=True)\n",
34-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'vgg16_bn', pretrained=True)\n",
35-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'vgg19', pretrained=True)\n",
36-
"# model = torch.hub.load('pytorch/vision:v0.4.2', 'vgg19_bn', pretrained=True)\n",
30+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'vgg11_bn', pretrained=True)\n",
31+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'vgg13', pretrained=True)\n",
32+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'vgg13_bn', pretrained=True)\n",
33+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'vgg16', pretrained=True)\n",
34+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'vgg16_bn', pretrained=True)\n",
35+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'vgg19', pretrained=True)\n",
36+
"# model = torch.hub.load('pytorch/vision:v0.5.0', 'vgg19_bn', pretrained=True)\n",
3737
"model.eval()"
3838
]
3939
},

assets/hub/pytorch_vision_wide_resnet.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"source": [
2727
"import torch\n",
2828
"# load WRN-50-2:\n",
29-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'wide_resnet50_2', pretrained=True)\n",
29+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'wide_resnet50_2', pretrained=True)\n",
3030
"# or WRN-101-2\n",
31-
"model = torch.hub.load('pytorch/vision:v0.4.2', 'wide_resnet101_2', pretrained=True)\n",
31+
"model = torch.hub.load('pytorch/vision:v0.5.0', 'wide_resnet101_2', pretrained=True)\n",
3232
"model.eval()"
3333
]
3434
},

docs/master/_modules/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/_tensor_str.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/_utils.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/anomaly_mode.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/function.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/grad_mode.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/gradcheck.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/profiler.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda/comm.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda/memory.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+bdd5e15 &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.5.0a0+c8ca70e &#x25BC</a>
162162
</div>
163163

164164

0 commit comments

Comments
 (0)