pytorch / hub
- среда, 12 июня 2019 г. в 00:16:57
Python
We accept submission to PyTorch hub through PR in hub
repo. Once the PR is merged into master here, it will show up on PyTorch website in 24 hrs.
hubconf.py
in your repo, following the instruction in torch.hub doc. Verify it's working correctly by running torch.hub.load(...)
locally.pytorch/hub
repo. For each new model you have, create a <repo_owner>_<repo_name>_<title>.md
file using this template.resnet18, resnet50
should be placed in the same file.images/
folder and link them correctly in the [images/featured_image_1/featured_image_2]
fields above.python scripts/sanity_check.py
./scripts/run_pytorch.sh
```python
in model markdown file.dependencies
is not installed on our CI machine, add them in install.sh.temp.py
file left in the repo to reproduce the failure.netlify bot
. This bot builds your PR with latest pytorch.github.io
repo and comment on your PR with preview link. The preview will be updated as you push more commits to the PR.