Skip to content
Submission to https://pytorch.org/hub/
Python Shell
Branch: master
Clone or download

Latest commit

Latest commit b5ca7d7 Feb 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci [Test]Make circleCI job run every night. (#64) Nov 8, 2019
docs Update template.md Jun 11, 2019
images Add proxylessnas into hubs (#61) Oct 17, 2019
scripts Whitelist a few more files in sanity_check.py. Jan 18, 2020
.ruby-version found minimal set of required deps file Jun 3, 2019
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md Feb 28, 2020
CONTRIBUTING.md OSS Automated Fix: Addition of Contributing Jan 15, 2020
README.md fix CI & a few improvements Jun 6, 2019
dog.jpg add dog from wikipedia Jun 2, 2019
facebookresearch_WSL-Images_resnext.md .MD file for wsl images model in hub (#42) Jun 21, 2019
facebookresearch_pytorch-gan-zoo_dcgan.md add accelerator tag Jun 10, 2019
facebookresearch_pytorch-gan-zoo_pgan.md fix order Jun 21, 2019
facebookresearch_semi-supervised-ImageNet1K-models_resnext.md Adding semi-supervised and semi-weakly supervised ImageNet1K models i… Oct 16, 2019
huggingface_pytorch-transformers.md
mateuszbuda_brain-segmentation-pytorch_unet.md fix order Jun 21, 2019
nvidia_deeplearningexamples_ssd.md access to nvidia models through tagged/branched entrypoint (#48) Jul 24, 2019
nvidia_deeplearningexamples_tacotron2.md access to nvidia models through tagged/branched entrypoint (#48) Jul 24, 2019
nvidia_deeplearningexamples_waveglow.md access to nvidia models through tagged/branched entrypoint (#48) Jul 24, 2019
package.json Upgrade jquery to 3.4.0. Dec 12, 2019
preview_setup.sh
pytorch_fairseq_roberta.md
pytorch_fairseq_translation.md
pytorch_vision_alexnet.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_deeplabv3_resnet101.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_densenet.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_fcn_resnet101.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_googlenet.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_hardnet.md add hardnet (#54) Sep 20, 2019
pytorch_vision_inception_v3.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_mobilenet_v2.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_proxylessnas.md Add proxylessnas into hubs (#61) Oct 17, 2019
pytorch_vision_resnet.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_resnext.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_shufflenet_v2.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_squeezenet.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_vgg.md Temporarily disbale huggingface transformers. Jan 17, 2020
pytorch_vision_wide_resnet.md Temporarily disbale huggingface transformers. Jan 17, 2020
yarn.lock Upgrade jquery to 3.4.0. Dec 12, 2019

README.md

PyTorch Hub

CircleCI

Logistics

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.

Steps to submit to PyTorch hub

  1. Add a hubconf.py in your repo, following the instruction in torch.hub doc. Verify it's working correctly by running torch.hub.load(...) locally.
  2. Create a PR in pytorch/hub repo. For each new model you have, create a <repo_owner>_<repo_name>_<title>.md file using this template.

Notes

  • Currently we don't support hosting pretrained weights, users with pretrained weights need to host them properly themselves.
  • In general we recommend one model per markdown file, models with similar structures like resnet18, resnet50 should be placed in the same file.
  • If you have images, place them in images/ folder and link them correctly in the [images/featured_image_1/featured_image_2] fields above.
  • We only support a pre-defined set of tags, currently they are listed in scripts/tags.py. We accept PRs to expand this set as needed.
  • To test your PR locally, run the tests below.
python scripts/sanity_check.py
./scripts/run_pytorch.sh
  • Our CI concatenates all python code blocks in one markdown file and runs it agaist the latest PyTorch release.
    • Remember to mark your python code using ```python in model markdown file.
    • If your dependencies is not installed on our CI machine, add them in install.sh.
    • If it fails, you can find a new temp.py file left in the repo to reproduce the failure.
  • We also provide a way to preview your model webpage through 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. Example netlify bot comment
You can’t perform that action at this time.