1. 01 4月, 2019 1 次提交
    • C
      import logging for line 382 · 3deaec5d
      cclauss 提交于
      [flake8](http://flake8.pycqa.org) testing of https://github.com/matterport/Mask_RCNN on Python 3.7.1
      
      $ __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__
      ```
      ./mrcnn/utils.py:381:9: F821 undefined name 'logging'
              logging.warning("You are using the default load_mask(), maybe you need to define your own one.")
              ^
      ./mrcnn/model.py:2359:12: F632 use ==/!= to compare str, bytes, and int literals
              if os.name is 'nt':
                 ^
      1     F632 use ==/!= to compare str, bytes, and int literals
      1     F821 undefined name 'logging'
      2
      ```
      __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
      3deaec5d
  2. 04 3月, 2019 2 次提交
  3. 10 2月, 2019 1 次提交
  4. 04 2月, 2019 2 次提交
  5. 28 1月, 2019 2 次提交
  6. 22 1月, 2019 1 次提交
  7. 28 10月, 2018 5 次提交
    • M
      Fix typo "ceate" to "create" · a0a2aa00
      mowoe 提交于
      Fix typo "ceate" to "create"
      a0a2aa00
    • keineahnung2345's avatar
      [Bug fix]compute_overlaps_masks · 4c08252c
      keineahnung2345 提交于
      In compute_overlaps_masks(), the code checking the shape of masks1 and masks2 is not correct.
      1. It should check masks' last dimension instead of first dimension to determine whether it's empty or not
      2. When masks1 or masks2 is empty, it should return a zero array of shape (masks1.shape[-1], masks2.shape[-1])
      4c08252c
    • M
      Fix #551 · 8a09a750
      marluca 提交于
      Valid index 0 is not regarded, leading to possibly more prediction_matches than grountruh_matches and recall values higher than 1.
      8a09a750
    • keineahnung2345's avatar
      [Bug fix] · a8e674cc
      keineahnung2345 提交于
      In current version of log(), when you pass a zero size array, it will throw an error:
      `ValueError: Unknown format code 'f' for object of type 'str'`.
      This PR fixes it.
      a8e674cc
    • keineahnung2345's avatar
      [Bug fix] tf.boolean_mask cannot accept name=None · b62df992
      keineahnung2345 提交于
      pass name=None to tf.boolean_mask will lead to ValueError: At least one of name (None) and default_name (None) must be provided.
      b62df992
  8. 29 9月, 2018 3 次提交
  9. 28 9月, 2018 7 次提交
  10. 22 9月, 2018 4 次提交
  11. 21 9月, 2018 12 次提交