pytorch_pose_proposal_networks icon indicating copy to clipboard operation
pytorch_pose_proposal_networks copied to clipboard

Something i don't understand?

Open lunalulu opened this issue 5 years ago • 3 comments

thanks for your wonderful jobs~ I have some questions that I don't understand. I hope you can help me answer them. 1、src/demo.py line26-31, I don't know why I'm doing this with the input? 2、src/demo.py line72,I want to know why do I have to add 4?

thanks for your reply!

lunalulu avatar Apr 18 '19 10:04 lunalulu

lunalulu avatar Apr 19 '19 06:04 lunalulu

Sorry, that is misoperation. Next, I will answer your question. 1.Input videos has different resolution, so they need to be processed to have same size as network input. ie. 384*384. You can modify it according to your input. 2.end_y[i] - s_y and end_x[i] - s_x are relative location, and are centered on s_y and s_x. They need to be transformed to take top left corner of 9 * 9 grids as start point.

wangziren1 avatar Apr 19 '19 07:04 wangziren1

@wangziren1 thanks for reply 1、The purpose of np.concatenate is to ensure that the scale of the human being in the image does not change during scaling, and changing the aspect ratio to 1:1?? 2、i think End_y [I] -s_y and end_x[I] -s_x are both coordinates relative to 12*12, as long as the difference between them is all within 9.

lunalulu avatar Apr 19 '19 08:04 lunalulu