MyGit

v0.26.0

open-mmlab/mmpose

版本发布时间: 2022-05-06 02:35:45

open-mmlab/mmpose最新发布版本:v1.3.2(2024-07-12 20:18:03)

Highlights

New Features

Improvements

Bug Fixes

Breaking Changes

v0.26.0 v0.25.0
Dataset
(e.g. TopDownCOCODataset)
...
# Data sample only contains bbox
rec.append({
    'bbox': obj['clean_bbox][:4],
    ...
})
...
# Convert bbox from xywh to center-scale
center, scale = self._xywh2cs(*obj['clean_bbox'][:4])
# Data sample contains center and scale
rec.append({
    'bbox': obj['clean_bbox][:4],
    'center': center,
    'scale': scale,
    ...
})
Pipeline Config
(e.g. HRNet+COCO)
...
train_pipeline = [
    dict(type='LoadImageFromFile'),
    # Convert bbox from xywh to center-scale
    dict(type='TopDownGetBboxCenterScale', padding=1.25),
    # Randomly shift bbox center
    dict(type='TopDownRandomShiftBboxCenter', shift_factor=0.16, prob=0.3),
    ...
]
...
train_pipeline = [
    dict(type='LoadImageFromFile'),
    ...
]
Advantage
  • Simpler data sample content
  • Flexible bbox format conversion and augmentation
  • Apply bbox random translation every epoch (instead of only applying once at the annotation loading)
  • -
    BC Breaking The method _xywh2cs of dataset base classes (e.g. Kpt2dSviewRgbImgTopDownDataset) will be deprecated in the future. Custom datasets will need modifications to move the bbox format conversion to pipelines. -

    相关地址:原始地址 下载(tar) 下载(zip)

    查看:2022-05-06发行的版本