Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

再计算3d keypoint的时候,是否需要pred_cam_full参数? #190

Open
ShamLich opened this issue Aug 2, 2023 · 3 comments
Open

Comments

@ShamLich
Copy link

ShamLich commented Aug 2, 2023

pred_output = smpl_model(betas=pred_betas,
body_pose=pred_rotmat[:, 1:],
global_orient=pred_rotmat[:, [0]],
pose2rot=False,
transl=pred_cam_full
)
points_3d = pred_output.joints()
是否需要transl=pred_cam_full这一行?保留这一行代码似乎无法正确计算loss,去掉之后就正常收敛了
我没有对spin代码给出的gt 3dkeypoint进行额外处理,若要保留transl=pred_cam_full这一行代码,需要对gt 3dkeypoint进行怎样的处理?

@caoziyang1997
Copy link

Traceback (most recent call last):
File "/home/czy/project/CLIFF/demo.py", line 28, in
from lib.yolov3_detector import HumanDetector
File "/home/czy/project/CLIFF/lib/yolov3_detector.py", line 18, in
from util import write_results
ModuleNotFoundError: No module named 'util'
(cliff) czy@cluster02-X785-G30:~/project/CLIFF$
项目中的util模块你有吗, 源项目中,没有util模块

@ShamLich
Copy link
Author

Traceback (most recent call last): File "/home/czy/project/CLIFF/demo.py", line 28, in from lib.yolov3_detector import HumanDetector File "/home/czy/project/CLIFF/lib/yolov3_detector.py", line 18, in from util import write_results ModuleNotFoundError: No module named 'util' (cliff) czy@cluster02-X785-G30:~/project/CLIFF$ 项目中的util模块你有吗, 源项目中,没有util模块

你可以试试mmhuman3d里集成了的cliff,不过说实话,不管是mmhuman3d里集成的cliff还是我自己从spin上改的cliff,根本跑不出论文里的结果,甚至大部分都无法收敛

@caoziyang1997
Copy link

caoziyang1997 commented Nov 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants