1. 28 Oct, 2021 1 commit
  2. 25 Oct, 2021 1 commit
  3. 04 Oct, 2021 1 commit
    • Philip Meier's avatar
      Add ufmt (usort + black) as code formatter (#4384) · 5f0edb97
      Philip Meier authored
      
      
      * add ufmt as code formatter
      
      * cleanup
      
      * quote ufmt requirement
      
      * split imports into more groups
      
      * regenerate circleci config
      
      * fix CI
      
      * clarify local testing utils section
      
      * use ufmt pre-commit hook
      
      * split relative imports into local category
      
      * Revert "split relative imports into local category"
      
      This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51.
      
      * pin black and usort dependencies
      
      * fix local test utils detection
      
      * fix ufmt rev
      
      * add reference utils to local category
      
      * fix usort config
      
      * remove custom categories sorting
      
      * Run pre-commit without fixing flake8
      
      * got a double import in merge
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      5f0edb97
  4. 22 Jun, 2021 1 commit
  5. 12 Dec, 2020 1 commit
  6. 06 Nov, 2020 1 commit
    • F-G Fernandez's avatar
      Added annotation typing to shufflenet (#2864) · 052edcec
      F-G Fernandez authored
      * style: Added annotation typing for shufflenet
      
      * fix: Removed duplicate type hint
      
      * refactor: Removed un-necessary import
      
      * fix: Fixed constructor typing
      
      * style: Added black formatting on depthwise_conv
      
      * style: Fixed stage typing in shufflenet
      052edcec
  7. 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
  8. 31 Oct, 2019 1 commit
  9. 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
  10. 21 May, 2019 1 commit
  11. 19 May, 2019 2 commits
  12. 08 May, 2019 1 commit
    • Bar's avatar
      Enhance ShufflenetV2 (#892) · 43ab2fef
      Bar authored
      * Enhance ShufflenetV2
      
      Class shufflenetv2 receives `stages_repeats` and `stages_out_channels` arguments.
      
      * remove explicit num_classes argument from utility functions
      43ab2fef
  13. 07 May, 2019 1 commit
    • ekka's avatar
      Refactoring of ShuffleNetV2 (#889) · 0564df43
      ekka authored
      * Minor refactoring of ShuffleNetV2
      
      Added progress flag following #875. Further the following refactoring was also done:
      
      1) added `version` argument in shufflenetv2 method and removed the operations for converting the `width_mult` arg to float and string.
      2) removed `num_classes` argument and **kwargs from functions except `ShuffleNetV2`
      
      * removed `version` arg
      
      * Update shufflenetv2.py
      
      * Removed the try except block
      
      * Update shufflenetv2.py
      
      * Changed version from float to str
      
      * Replace `width_mult` with `stages_out_channels`
      
      Removes the need of  `_getStages` function.
      0564df43
  14. 06 May, 2019 1 commit
  15. 30 Apr, 2019 1 commit
    • Bar's avatar
      Add ShuffleNet v2 (#849) · 7a4845a9
      Bar authored
      * Add ShuffleNet v2
      
      Added 4 configurations: x0.5, x1, x1.5, x2
      Add 2 pretrained models: x0.5, x1
      
      * fix lint
      
      * Change globalpool to torch.mean() call
      7a4845a9