zzzxxxttt / pytorch_simple_CenterNet_45

A simple pytorch implementation of CenterNet (Objects as Points)
308 stars 63 forks source link

能详细解释下get_affine_transform的意义吗? #18

Closed GYxiaOH closed 4 years ago

GYxiaOH commented 4 years ago

RT...get_border函数的意义是什么?仿射变换前后的三个点是怎么取的。。。没看懂这两个地方,这个方法和resize比有什么改进吗

zzzxxxttt commented 4 years ago

These functions are inherited from the official CenterNet code. In my understanding, a set of affine transforms can be used to transform both the image and the bounding boxes, so we don't need to write them separately. The transform result can also be achieved using resize and random crop, which is used by CornerNet.