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

大佬您好,想请问下世界坐标系下的可视化问题。 #498

Open
sarsigmadelta opened this issue Dec 26, 2023 · 1 comment
Open

Comments

@sarsigmadelta
Copy link

大佬您的工作太优秀了,我已经follow了好几个月,学到了很多。但是遇到一个问题,
我首先运行 : CUDA_VISIBLE_DEVICES=0 trace2 -i demo/trace_demo2/ --subject_num=1 --results_save_dir demo/results2/ --save_video 得到了正确的结果,在 demo/results2/ 目录下生成了一个 _tracking.npz
然后运行可视化命令: python -m trace2.show --smpl_model_folder smpl_model_data/ --preds_path demo/results2/_tracking.npz --frame_dir demo/trace_demo2/ .
结果报错了 KeyError: 'outputs is not a file in the archive' , 加载的npz 里面没有这个file, 请问是不是漏了什么步骤。感谢大佬指教

@IsshikiHugh
Copy link

IsshikiHugh commented Jan 19, 2024

I've also encountered this problem. That's because the _tracking.npz is not the file needed for visualization.

I check the code in main.py / TRACE.save_results(), and output the two .npz file's path and found that the two file name is {...}.npz and {...}_tracking.npz. And the prefix is empty here, which means you can only see _tracking.npz.

So, if you check your output directory with ls -a, you will find the hidden .npz file which is what you really need.

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