1. 21 Jan, 2020 1 commit
    • Kamran Melikov's avatar
      Non color images (#1976) · 8c86f74c
      Kamran Melikov authored
      * First Draft
      
      On branch non-color-images
      Changes to be committed:
      modified:   mmdet/datasets/pipelines/loading.py
      
      * Add option to load non color images
      
      Add 'color_type' parameter to LoadImageFromFile class
      Change __repr__ method accordingly
      Since non-color images maybe two dimensional expand image
      dimensions if necessary in DefaultFormatBundle and
      ImageToTensor classes
      
      Changes to be committed:
          modified:   mmdet/datasets/pipelines/formating.py
          modified:   mmdet/datasets/pipelines/loading.py
      
      * Fix RandomCrop to work with grayscale images
      
      Changes to be committed:
          modified:   mmdet/datasets/pipelines/transforms.py
      
      * Modify retrieving w, h of padded image in anchor heads
      
      This addreses problems with single channel images for which the
      shape is  tuple with 2 values
      
      Changes to be committed:
          modified:   mmdet/models/anchor_heads/anchor_head.py
          modified:   mmdet/models/anchor_heads/guided_anchor_head.py
          modified:   mmdet/models/anchor_heads/reppoints_head.py
      8c86f74c
  2. 26 Aug, 2019 2 commits
  3. 25 Aug, 2019 1 commit