mpskex / Convolutional-Pose-Machine-tf

Convolutional Pose Machine tensorflow implementation
GNU Lesser General Public License v3.0
71 stars 18 forks source link

A bug in net/CPM.py #9

Closed jiwoong-choi closed 5 years ago

jiwoong-choi commented 5 years ago

As you said in the comment in net/CPM.py line 262, my training crashed exactly when it tries to save the ckpt file. But this is not the problem of the TF 1.10.

If you change the name of the local variable 'n' in line 238 to something else (e.g. '_n'), it works perfectly fine even with TF 1.10. Note that another variable with the same name has already been used in the line 221

mpskex commented 5 years ago

Thanks a lot, I will fix it. It is my fault ignoring those re-used names.