1. 18 Jan, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Add MobileNetV3 architecture for Detection (#3253) · bf211dac
      Vasilis Vryniotis authored
      * Minor refactoring of a private method to make it reusuable.
      
      * Adding a FasterRCNN + MobileNetV3 with & w/o FPN models.
      
      * Reducing Resolution to 320-640 and anchor sizes to 16-256.
      
      * Increase anchor sizes.
      
      * Adding rpn score threshold param on the train script.
      
      * Adding trainable_backbone_layers param on the train script.
      
      * Adding rpn_score_thresh param directly in fasterrcnn_mobilenet_v3_large_fpn.
      
      * Remove fasterrcnn_mobilenet_v3_large prototype and update expected file.
      
      * Update documentation and adding weights.
      
      * Use buildin Identity.
      
      * Fix spelling.
      bf211dac
  2. 14 Jan, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Add MobileNetV3 architecture for Classification (#3252) · 7bf6e7b1
      Vasilis Vryniotis authored
      * Add MobileNetV3 Architecture in TorchVision (#3182)
      
      * Adding implementation of network architecture
      
      * Adding rmsprop support on the train.py
      
      * Adding auto-augment and random-erase in the training scripts.
      
      * Adding support for reduced tail on MobileNetV3.
      
      * Tagging blocks with comments.
      
      * Adding documentation, pre-trained model URL and a minor refactoring.
      
      * Handling better untrained supported models.
      7bf6e7b1
  3. 04 Jan, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Speed up CI runtime (#3189) · 4d2d8bb0
      Vasilis Vryniotis authored
      * Speedup test_ucf101 (#2623 
      
      * Speedup Cmake builds (#3186)
      
      * Speedup test_autoaugment (#3190)
      
      * Speedup DeformConvTester (#3191)
      
      * Speedup InceptionV3 and GoogleNet on Windows (#3196)
      4d2d8bb0
  4. 30 Nov, 2020 1 commit
  5. 27 Nov, 2020 1 commit
    • Aditya Oke's avatar
      Add utility to draw bounding boxes (#2785) · 240210c9
      Aditya Oke authored
      
      
      * initital prototype
      
      * flake
      
      * Adds documentation
      
      * minimal working bboxes
      
      * Adds label display
      
      * adds colors :-)
      
      * adds suggestions and fixes CI
      
      * handles image of dim 4
      
      * fixes image handling
      
      * removes dev file
      
      * adds suggested changes
      
      * Updating the API.
      
      * Update test.
      
      * Implementing code review improvements.
      
      * Further refactoring and adding test.
      
      * Replace random to white to reduce size and change font on tests.
      Co-authored-by: default avatarVasilis Vryniotis <vvryniotis@fb.com>
      240210c9
  6. 20 Nov, 2020 1 commit
  7. 09 Nov, 2020 2 commits
  8. 06 Nov, 2020 1 commit
    • Vasilis Vryniotis's avatar
      Fix flakiness on detection tests (#2966) · 7f7ff056
      Vasilis Vryniotis authored
      * Simplify the ACCEPT=True logic in assertExpected().
      
      * Separate the expected filename estimation from assertExpected
      
      * Unflatten expected values.
      
      * Assert for duplicate scores if primary check fails.
      
      * Remove custom exceptions for algorithms and add a compact function for shrinking large ouputs.
      
      * Removing unused variables.
      
      * Add warning and comments.
      
      * Re-enable all autocast unit-test for detection and marking the tests as skipped in partial validation.
      
      * Move test skip at the end.
      
      * Changing the warning message.
      7f7ff056
  9. 03 Nov, 2020 1 commit
  10. 30 Oct, 2020 1 commit
  11. 16 Oct, 2020 2 commits
  12. 14 Oct, 2020 1 commit
  13. 09 Jul, 2020 1 commit
    • mcarilli's avatar
      [WIP] Allow autocast for 1.6 (#2384) · 0a8586c9
      mcarilli authored
      
      
      * Fixes Xiao's repro
      
      * Ports nms to use full dispatcher
      
      * Move HIPGuard to nms_cuda
      
      * clang-format
      
      * run models in test_models.py on GPU if available
      
      * Francisco's comment, also disable cuda model tests to see if CPU alone still passes
      
      * cuda tests now pass locally, although still not comparing to saved numerics
      
      * add note for thing to ask francisco
      
      * Allow cuda and cpu tests to share a data file
      
      * ignore suffix if unneeded
      
      * Skip autocast numerics checks for a few models
      
      * Add roi_align test
      Co-authored-by: default avatarMichael Carilli <mcarilli@nvidia.com>
      0a8586c9
  14. 29 May, 2020 2 commits
  15. 21 May, 2020 1 commit
  16. 14 May, 2020 1 commit
  17. 10 Apr, 2020 1 commit
  18. 10 Mar, 2020 1 commit
  19. 04 Feb, 2020 1 commit
    • F-G Fernandez's avatar
      Added __repr__ attribute to GeneralizedRCNNTransform (#1834) · e2573a71
      F-G Fernandez authored
      * feat: Added __repr__ attribute to GeneralizedRCNNTransform
      
      Added more details to default __repr__ attribute for printing.
      
      * fix: Put back relative imports
      
      * style: Fixed pep8 compliance
      
      Switched strings with  syntax to f-strings.
      
      * test: Added test for GeneralizedRCNNTransform __repr__
      
      Checked integrity of __repr__ attribute
      
      * test: Fixed unittest for __repr__
      
      Fixed the formatted strings in the __repr__ integrity check for GeneralizedRCNNTransform
      
      * fix: Fixed f-strings for earlier python versions
      
      Switched back f-strings to .format syntax for Python3.5 compatibility.
      
      * fix: Fixed multi-line string
      
      Fixed multiple-line string syntax for compatibility
      
      * fix: Fixed GeneralizedRCNNTransform unittest
      
      Fixed formatting of min_size argument of the resizing part
      e2573a71
  20. 13 Jan, 2020 1 commit
  21. 30 Nov, 2019 1 commit
    • driazati's avatar
      Add tests for results in script vs eager mode (#1430) · 227027d5
      driazati authored
      * Add tests for results in script vs eager mode
      
      This copies some logic from `test_jit.py` to check that a TorchScript'ed
      model's outputs are the same as outputs from the model in eager mode.
      
      To support differences in TorchScript / eager mode outputs, an
      `unwrapper` function can be provided per-model.
      
      * Fix inception, use PYTORCH_TEST_WITH_SLOW
      
      * Update
      
      * Remove assertNestedTensorObjectsEqual
      
      * Add PYTORCH_TEST_WITH_SLOW to CircleCI config
      
      * Add MaskRCNN unwrapper
      
      * fix prec args
      
      * Remove CI changes
      
      * update
      
      * Update
      
      * remove expect changes
      
      * Fix tolerance bug
      
      * Fix breakages
      
      * Fix quantized resnet
      
      * Fix merge errors and simplify code
      
      * DeepLabV3 has been fixed
      
      * Temporarily disable jit compilation
      227027d5
  22. 25 Nov, 2019 1 commit
    • eellison's avatar
      Make maskrcnn scriptable (#1407) · d88d8961
      eellison authored
      * almost working...
      
      * respond to comments
      
      * add empty tensor op, handle different output types in generalized rcnn
      
      * clean ups
      
      * address comments
      
      * more changes
      
      * it's working!
      
      * torchscript bugs
      
      * add script/ eager test
      
      * eval script model
      
      * fix flake
      
      * division import
      
      * py2 compat
      
      * update test, fix arange bug
      
      * import division statement
      
      * fix linter
      
      * fixes
      
      * changes needed for JIT master
      
      * cleanups
      
      * remove imagelist_to
      
      * requested changes
      
      * Make FPN backwards-compatible and torchscript compatible
      
      We remove support for feature channels=0, but support for it was already a bit limited
      
      * Fix ONNX regression
      d88d8961
  23. 22 Oct, 2019 1 commit
    • fbbradheintz's avatar
      Correctness test implemented with old test architecture (#1511) · b60cb726
      fbbradheintz authored
      * correctness test implemented with old test architecture
      
      * reverted an unneeded change, ran flake8
      
      * moving to relative tolerance of 1 part in 10k for classification correctness checks
      
      * going down to 1 part in 1000 for correctness checks bc architecture differences
      
      * one percent relative tolerance
      b60cb726
  24. 18 Oct, 2019 1 commit
  25. 17 Oct, 2019 1 commit
  26. 02 Oct, 2019 1 commit
  27. 01 Oct, 2019 1 commit
    • eellison's avatar
      Add expected result tests (#1377) · 96ec0e1d
      eellison authored
      * add expected result tests
      
      * fix wrong assertion
      
      * start with only detection models
      
      * remove unneeded rng setting
      
      * fix test
      
      * add tuple support
      
      * update test
      
      * syntax error
      
      * treat .pkl files as binary data, see : https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#_binary_files
      
      * fix test
      
      * fix elif
      
      * Map tensor results and enforce maximum pickle size
      
      * unrelated change
      
      * larger rtol
      
      * pass rtol atol around
      
      * last commit i swear...
      
      * respond to comments
      
      * fix flake
      
      * fix py2 flake
      96ec0e1d
  28. 27 Sep, 2019 1 commit
    • eellison's avatar
      Make Googlnet & InceptionNet scriptable (#1349) · b9cbc227
      eellison authored
      * make googlnet scriptable
      
      * Remove typing import in favor of torch.jit.annotations
      
      * add inceptionnet
      
      * flake fixes
      
      * fix asssert true
      
      * add import division for torchscript
      
      * fix script compilation
      
      * fix flake, py2 division error
      
      * fix py2 division error
      b9cbc227
  29. 20 Sep, 2019 2 commits
    • eellison's avatar
      Make fcn_resnet Scriptable (#1352) · a6a926bc
      eellison authored
      * script_fcn_resnet
      
      * Make old models load
      
      * DeepLabV3 also got torchscript-ready
      a6a926bc
    • eellison's avatar
      Make Densenet Scriptable (#1342) · 21110d93
      eellison authored
      * make densenet scriptable
      
      * make py2 compat
      
      * use torch List polyfill
      
      * fix unpacking for checkpointing
      
      * fewer changes to _Denseblock
      
      * improve error message
      
      * print traceback
      
      * add typing dependency
      
      * add typing dependency to travis too
      
      * Make loading old checkpoints work
      21110d93
  30. 18 Sep, 2019 1 commit
  31. 17 Sep, 2019 1 commit
  32. 02 Sep, 2019 1 commit
    • eellison's avatar
      make shufflenet and resnet scriptable (#1270) · 26c9630b
      eellison authored
      * make shufflenet scriptable
      
      * make resnet18 scriptable
      
      * set downsample to identity instead of __constants__ api
      
      * use __constants__ for downsample instead of identity
      
      * import tensor to fix flake
      
      * use torch.Tensor type annotation instead of import
      26c9630b
  33. 28 Aug, 2019 1 commit
  34. 04 Aug, 2019 1 commit
  35. 26 Jul, 2019 1 commit
    • Bruno Korbar's avatar
      Add VideoModelZoo models (#1130) · 7c95f97a
      Bruno Korbar authored
      * [0.4_video] models - initial commit
      
      * addressing fmassas inline comments
      
      * pep8 and flake8
      
      * simplify "hacks"
      
      * sorting out latest comments
      
      * nitpick
      
      * Updated tests and constructors
      
      * Added docstrings - ready to merge
      7c95f97a
  36. 04 Jul, 2019 1 commit