xingyizhou / DeepModel

Code repository for Model-based Deep Hand Pose Estimation
GNU General Public License v3.0
111 stars 43 forks source link

网络最后一层全连接参数 #21

Open popper0912 opened 5 years ago

popper0912 commented 5 years ago

你好,请教一个问题 我想问一下全连接层最后一层参数为 47 是什么参数,怎么算出来的呢?论文里提到是 23个节点,可是实际网络输出是 31 个关节点,这里有些疑惑。谢谢

strawberryfg commented 5 years ago

See https://github.com/strawberryfg/DeepModel_hand/blob/master/configuration/DofConstraintId.in. These 21 DoFs are fixed, and so only 26 are tunable by deep network. Here is a brief sketch of correspondence between DoF and joint https://github.com/strawberryfg/DeepModel_hand/blob/master/illustration%20of%20model.jpg. Basically the 26 params are only used to fix the hand palm plane. Nothing more. You may refer to https://github.com/strawberryfg/DeepModel_hand/blob/master/src/deep_hand_model_layer.cpp for details.

strawberryfg commented 5 years ago

Sorry, 21.

popper0912 commented 5 years ago

See https://github.com/strawberryfg/DeepModel_hand/blob/master/configuration/DofConstraintId.in. These 21 DoFs are fixed, and so only 26 are tunable by deep network. Here is a brief sketch of correspondence between DoF and joint https://github.com/strawberryfg/DeepModel_hand/blob/master/illustration%20of%20model.jpg. Basically the 26 params are only used to fix the hand palm plane. Nothing more. You may refer to https://github.com/strawberryfg/DeepModel_hand/blob/master/src/deep_hand_model_layer.cpp for details.

感谢你的回复,这里还有个问题需要请教一下你: 看到你绘制的Dof ID 草图中,有重复书写的 ID,例如 12-14与15-16,33,37,41,45。为何会这样书写,寓意是什么?谢谢!

popper0912 commented 5 years ago

See https://github.com/strawberryfg/DeepModel_hand/blob/master/configuration/DofConstraintId.in. These 21 DoFs are fixed, and so only 26 are tunable by deep network. Here is a brief sketch of correspondence between DoF and joint https://github.com/strawberryfg/DeepModel_hand/blob/master/illustration%20of%20model.jpg. Basically the 26 params are only used to fix the hand palm plane. Nothing more. You may refer to https://github.com/strawberryfg/DeepModel_hand/blob/master/src/deep_hand_model_layer.cpp for details.

感谢你的回复,这里还有个问题需要请教一下你: 看到你绘制的Dof ID 草图中,有重复书写的 ID,例如 12-14与15-16,33,37,41,45。为何会这样书写,寓意是什么?谢谢!

还有一个问题,不好意思 BoneLength.txt \ DofConstraintId.txt \ DofConstraintLow.txt \ DofConstraintUp.txt \ DofFixedId.txt \ InitialParameters.txt 这些参数的作用是什么,如果我要训练自己的数据,这些参数还需要改变吗?谢谢