1. 21 Jan, 2022 1 commit
    • Hu Ye's avatar
      add FCOS (#4961) · 7d4bdd43
      Hu Ye authored
      
      
      * add fcos
      
      * update fcos
      
      * add giou_loss
      
      * add BoxLinearCoder for FCOS
      
      * add full code for FCOS
      
      * add giou loss
      
      * add fcos
      
      * add __all__
      
      * Fixing lint
      
      * Fixing lint in giou_loss.py
      
      * Add typing annotation to fcos
      
      * Add trained checkpoints
      
      * Use partial to replace lambda
      
      * Minor fixes to docstrings
      
      * Apply ufmt format
      
      * Fixing docstrings
      
      * Fixing jit scripting
      
      * Minor fixes to docstrings
      
      * Fixing jit scripting
      
      * Ignore mypy in fcos
      
      * Fixing trained checkpoints
      
      * Fixing unit-test of jit script
      
      * Fixing docstrings
      
      * Add test/expect/ModelTester.test_fcos_resnet50_fpn_expect.pkl
      
      * Fixing test_detection_model_trainable_backbone_layers
      
      * Update test_fcos_resnet50_fpn_expect.pkl
      
      * rename stride to box size
      
      * remove TODO and fix some typo
      
      * merge some code for better
      
      * impove the comments
      
      * remove decode and encode of BoxLinearCoder
      
      * remove some unnecessary hints
      
      * use the default value in detectron2.
      
      * update doc
      
      * Add unittest for BoxLinearCoder
      
      * Add types in FCOS
      
      * Add docstring for BoxLinearCoder
      
      * Minor fix for the docstring
      
      * update doc
      
      * Update fcos_resnet50_fpn_coco pretained weights url
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Add FCOS model documentation
      
      * Fix typo in FCOS documentation
      
      * Add fcos to the prototype builder
      
      * Capitalize COCO_V1
      
      * Fix params of fcos
      
      * fix bug for partial
      
      * Fixing docs indentation
      
      * Fixing docs format in giou_loss
      
      * Adopt Reference for GIoU Loss
      
      * Rename giou_loss to generalized_box_iou_loss
      
      * remove overwrite_eps
      
      * Update AP test values
      
      * Minor fixes for the docs
      
      * Minor fixes for the docs
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarZhiqiang Wang <zhiqwang@foxmail.com>
      
      * Update torchvision/prototype/models/detection/fcos.py
      Co-authored-by: default avatarZhiqiang Wang <zhiqwang@foxmail.com>
      Co-authored-by: default avatarzhiqiang <zhiqwang@foxmail.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarJoao Gomes <joaopsgomes@gmail.com>
      7d4bdd43
  2. 20 Jan, 2022 1 commit
    • Nicolas Hug's avatar
      Cleanups for FLAVA datasets (#5164) · e047623a
      Nicolas Hug authored
      * Change default of download for Food101 and DTD
      
      * Set download default to False and put it at the end
      
      * Keep stuff private
      
      * GTSRB: train -> split. Also use pathlib
      
      * mypy
      
      * Remove split and partition for SUN397
      
      * mypy
      
      * mypy
      
      * move download param for SST2
      
      * Use make_dataset in SST2
      
      * Use a base URL for GTSRB
      
      * Let's make this code more complictaed than it needs to be because why not
      e047623a
  3. 17 Nov, 2021 1 commit
    • F-G Fernandez's avatar
      Added typing annotations to io/_video_opts (#4173) · 29e0f66a
      F-G Fernandez authored
      
      
      * style: Added typing annotations
      
      * style: Fixed lint
      
      * style: Fixed typing
      
      * chore: Updated mypy.ini
      
      * style: Fixed typing
      
      * chore: Updated mypy.ini
      
      * style: Fixed typing compatibility with jit
      
      * style: Fixed typing
      
      * style: Fixed typing
      
      * style: Fixed missing import
      
      * style: Fixed typing of __iter__
      
      * style: Fixed typing
      
      * style: Fixed lint
      
      * style: Finished typing
      
      * style: ufmt the file
      
      * style: Removed unnecessary typing
      
      * style: Fixed typing of iterator
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarPrabhat Roy <prabhatroy@fb.com>
      29e0f66a
  4. 14 Nov, 2021 1 commit
  5. 02 Nov, 2021 1 commit
  6. 21 Oct, 2021 1 commit
    • Philip Meier's avatar
      make mypy more strict for prototype datasets (#4513) · 4ba91bff
      Philip Meier authored
      * make mypy more strict for prototype datasets
      
      * fix code format
      
      * apply strictness only to datasets
      
      * fix more mypy issues
      
      * cleanup
      
      * fix mnist annotations
      
      * refactor celeba
      
      * warn on redundant casts
      
      * remove redundant cast
      
      * simplify annotation
      
      * fix import
      4ba91bff
  7. 19 Oct, 2021 1 commit
  8. 15 Oct, 2021 1 commit
  9. 12 Oct, 2021 2 commits
  10. 05 Oct, 2021 1 commit
  11. 30 Sep, 2021 1 commit
    • Philip Meier's avatar
      add torchdata as prototype dependency (#4499) · 4bf60863
      Philip Meier authored
      
      
      * add torchdata as prototype dependency
      
      * ignore torchdata for mypy
      
      * move git dependency out of conda environment file
      
      * try unsetting PYTORCH_VERSION env var
      
      * cleanup
      
      * move installation of torchdata after installtion of PyTorch
      
      * regenerate circlci config
      
      * remove branch from torchdata download link
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      4bf60863
  12. 31 Aug, 2021 1 commit
  13. 16 Aug, 2021 2 commits
  14. 08 Apr, 2021 1 commit
  15. 19 Nov, 2020 1 commit
  16. 06 Nov, 2020 1 commit
    • F-G Fernandez's avatar
      Added annotation typing to densenet (#2860) · a8d84961
      F-G Fernandez authored
      * style: Added annotation typing for densenet
      
      * fix: Fixed import
      
      * refactor: Removed un-necessary import
      
      * fix: Fixed constructor typing
      
      * chore: Updated mypy.ini
      
      * fix: Fixed tuple typing
      
      * style: Ignored some mypy errors
      
      * style: Fixed typing
      
      * fix: Added missing constructor typing
      a8d84961
  17. 22 Sep, 2020 1 commit
  18. 14 Sep, 2020 1 commit
    • Philip Meier's avatar
      Add typehints for torchvision.io (#2543) · f8bf06d5
      Philip Meier authored
      
      
      * enable typing check for torchvision.io
      
      * fix existing errors
      
      * Update torchvision/io/_video_opt.py
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      
      * add ignores for FileFinder
      
      * use python 3 type hints
      
      * lint
      
      * video_opt
      
      * video
      
      * try quote av type hints
      
      * revert from .dim() to .ndim
      
      * revert changes to _video_opt.py and ignore errors
      
      * fix type hints
      
      * fix type hints for read_video_timestamps
      
      * change offset int to float
      
      * remove unused import
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      f8bf06d5
  19. 30 Jul, 2020 1 commit
  20. 11 May, 2020 1 commit
    • Philip Meier's avatar
      Add static type check with mypy (#2195) · a81d99b7
      Philip Meier authored
      * add mypy config
      
      * fix syntax error
      
      * fix annotations in torchvision/utils.py
      
      * add mypy type check to CircleCI
      
      * add mypy cache to ignore files
      
      * try fix CI
      
      * ignore flake8 F821 since it interferes with mypy
      
      * add mypy type check to config generator
      
      * explicitly set config files
      a81d99b7