1. 25 Sep, 2019 1 commit
    • kkkio's avatar
      Fix #1223 (#1404) · 3dc9ddb7
      kkkio authored
      * Fix #1223
      
      #1223  is caused by extra > len(indice), so I add a loop to properly pad the indice list. I also changed the list concatenation from ```+=``` to ```.extend```.
      
      * Update sampler.py
      
      style
      3dc9ddb7
  2. 31 Jul, 2019 1 commit
  3. 08 Jul, 2019 1 commit
  4. 27 Jun, 2019 1 commit
    • Qiang Zhang's avatar
      Only import torch.distributed when needed (#882) · 8bf38df0
      Qiang Zhang authored
      * Fix an import error for `get_world_size` and `get_rank`
      
      * Only import torch.distributed when needed
      
      torch.distributed is only used in DistributedGroupSampler
      
      * use `get_dist_info` to obtain world size and rank
      
      `get_dist_info` from `mmcv.runner.utils` handles the problem of `distributed_c10d` doesn't exist.
      8bf38df0
  5. 20 May, 2019 1 commit
  6. 11 May, 2019 1 commit
  7. 23 Sep, 2018 1 commit
  8. 02 Sep, 2018 1 commit