1. 11 6月, 2019 1 次提交
  2. 08 6月, 2019 1 次提交
    • R
      Add exponential moving average for model weights + few other additions and cleanup · 9bcd6518
      Ross Wightman 提交于
      * ModelEma class added to track an EMA set of weights for the model being trained
      * EMA handling added to train, validation and clean_checkpoint scripts
      * Add multi checkpoint or multi-model validation support to validate.py
      * Add syncbn option (APEX) to train script for experimentation
      * Cleanup interface of CheckpointSaver while adding ema functionality
      9bcd6518
  3. 01 6月, 2019 2 次提交
  4. 31 5月, 2019 2 次提交
  5. 30 5月, 2019 3 次提交
  6. 29 5月, 2019 2 次提交
  7. 27 5月, 2019 3 次提交
  8. 26 5月, 2019 1 次提交
  9. 24 5月, 2019 3 次提交
  10. 21 5月, 2019 3 次提交
  11. 19 5月, 2019 3 次提交
  12. 17 5月, 2019 1 次提交
    • R
      Some transform/data/loader refactoring, hopefully didn't break things · 76539d90
      Ross Wightman 提交于
      * factor out data related constants to own file
      * move data related config helpers to own file
      * add a variant of RandomResizeCrop that randomizes interpolation method
      * remove old Numpy version of RandomErasing
      * cleanup torch version of RandomErasing and use it in either GPU loader batch mode or single image cpu Transform
      76539d90
  13. 16 5月, 2019 1 次提交
  14. 15 5月, 2019 3 次提交
  15. 14 5月, 2019 3 次提交
    • R
      Merge pull request #1 from cclauss/patch-1 · 0a84dd58
      Ross Wightman 提交于
      Identity is not the same thing as equality in Python
      0a84dd58
    • C
      Identity is not the same thing as equality in Python · 51f85702
      cclauss 提交于
      Identity is not the same thing as equality in Python.  In these instances, we want the latter.
      
      Use ==/!= to compare str, bytes, and int literals.
      
      $ __python__
      ```python
      >>> proj = "pro"
      >>> proj += 'j'
      >>> proj
      'proj'
      >>> proj == 'proj'
      True
      >>> proj is 'proj'
      False
      >>> 0 == 0.0
      True
      >>> 0 is 0.0
      False
      ```
      [flake8](http://flake8.pycqa.org) testing of https://github.com/rwightman/pytorch-image-models on Python 3.7.1
      
      $ __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__
      ```
      ./data/loader.py:48:23: F823 local variable 'input' defined as a builtin referenced before assignment
                      yield input, target
                            ^
      ./models/dpn.py:170:12: F632 use ==/!= to compare str, bytes, and int literals
              if block_type is 'proj':
                 ^
      ./models/dpn.py:173:14: F632 use ==/!= to compare str, bytes, and int literals
              elif block_type is 'down':
                   ^
      ./models/dpn.py:177:20: F632 use ==/!= to compare str, bytes, and int literals
                  assert block_type is 'normal'
                         ^
      3     F632 use ==/!= to compare str, bytes, and int literals
      1     F823 local variable 'input' defined as a builtin referenced before assignment
      4
      ```
      __E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.
      * F821: undefined name `name`
      * F822: undefined name `name` in `__all__`
      * F823: local variable name referenced before assignment
      * E901: SyntaxError or IndentationError
      * E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
      51f85702
    • R
      Mixup implemention in progress · fee607ed
      Ross Wightman 提交于
      * initial impl w/ label smoothing converging, but needs more testing
      fee607ed
  16. 12 5月, 2019 2 次提交
  17. 11 5月, 2019 2 次提交
  18. 29 4月, 2019 3 次提交
  19. 23 4月, 2019 1 次提交