AliaksandrSiarohin / pose-gan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem about skimage_transfrom

OwalnutO opened this issue · comments

Hi, a warning is proposed during the first epoch training,

/home/tj/.conda/envs/dsc/lib/python3.6/site-packages/skimage/transform/_geometric.py:683: RuntimeWarning: divide by zero encountered in true_divide
H.flat[list(self._coeffs) + [8]] = - V[-1, :-1] / V[-1, -1]

It seems that when calculating the transformation matrix, for some samples, there will have zeros in division. It may not influence the training process, but does anyone know why or in which case (what kind of skeleton pair) this warning occurs?

You can ignore it. I think, it occurs when 2 keypoints have exactly the same location.