1. 28 Oct, 2021 1 commit
  2. 17 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. 06 Jul, 2020 1 commit
  5. 31 Mar, 2020 1 commit
  6. 14 Jun, 2019 1 commit
    • LXYTSOS's avatar
      utils.py in references can't work with pytorch-cpu (#1023) · 250bac89
      LXYTSOS authored
      * can't work with pytorch-cpu fixed
      
      utils.py can't work with pytorch-cpu because of this line of code `memory=torch.cuda.max_memory_allocated()`
      
      * can't work with pytorch-cpu fixed
      
      utils.py can't work with pytorch-cpu because of this line of code 'memory=torch.cuda.max_memory_allocated()'
      250bac89
  7. 10 May, 2019 1 commit
    • Francisco Massa's avatar
      Initial version of segmentation reference scripts (#820) · 50d54a82
      Francisco Massa authored
      * Initial version of the segmentation examples
      
      WIP
      
      * Cleanups
      
      * [WIP]
      
      * Tag where runs are being executed
      
      * Minor additions
      
      * Update model with new resnet API
      
      * [WIP] Using torchvision datasets
      
      * Improving datasets
      
      Leverage more and more torchvision datasets
      
      * Reorganizing datasets
      
      * PEP8
      
      * No more SegmentationModel
      
      Also remove outplanes from ResNet, and add a function for querying intermediate outputs. I won't keep it in the end, because it's very hacky and don't work with tracing
      
      * Minor cleanups
      
      * Moving transforms to its own file
      
      * Move models to torchvision
      
      * Bugfixes
      
      * Multiply LR by 10 for classifier
      
      * Remove classifier x 10
      
      * Add tests for segmentation models
      
      * Update with latest utils from classification
      
      * Lint and missing import
      50d54a82
  8. 08 May, 2019 1 commit
  9. 02 Apr, 2019 2 commits
  10. 28 Mar, 2019 1 commit
    • Francisco Massa's avatar
      Initial version of classification reference scripts (#819) · 27ff89f6
      Francisco Massa authored
      * Initial version of classification reference training script
      
      * Updates
      
      * Minor updates
      
      * Expose a few more options
      
      * Load optimizer and lr_scheduler when resuming
      
      Also log the learning rate
      
      * Evaluation-only and minor improvements
      
      Identified a bug in the reporting of the results. They need to be reduced between all processes
      
      * Address Soumith's comment
      
      * Fix some approximations on the evaluation metric
      
      * Flake8
      27ff89f6