1. 04 Mar, 2022 1 commit
  2. 28 Oct, 2021 1 commit
  3. 24 Oct, 2021 1 commit
  4. 17 Oct, 2021 1 commit
  5. 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
  6. 07 Jan, 2021 1 commit
  7. 18 May, 2020 1 commit
  8. 25 Nov, 2019 1 commit
  9. 17 Jul, 2019 1 commit
    • Daksh Jotwani's avatar
      Similarity learning reference code (#1101) · bbd363ca
      Daksh Jotwani authored
      * Add loss, sampler, and train script
      
      * Fix train script
      
      * Add argparse
      
      * Fix lint
      
      * Change f strings to .format()
      
      * Remove unused imports
      
      * Change TripletMarginLoss to extend nn.Module
      
      * Load eye uint8 tensors directly on device
      
      * Refactor model.py to backbone=None
      
      * Add docstring for PKSampler
      
      * Refactor evaluate() to take loader as arg instead
      
      * Change eval method to cat embeddings all at once
      
      * Add dataset comments
      
      * Add README.md
      
      * Add tests for sampler
      
      * Refactor threshold finder to helper method
      
      * Refactor targets comment
      
      * Fix lint
      
      * Rename embedding to similarity (More consistent with existing literature)
      bbd363ca