ROMP icon indicating copy to clipboard operation
ROMP copied to clipboard

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

Open sarsigmadelta opened this issue 1 year ago • 1 comments

大佬您的工作太优秀了,我已经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, 请问是不是漏了什么步骤。感谢大佬指教

sarsigmadelta avatar Dec 26 '23 08:12 sarsigmadelta

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.

IsshikiHugh avatar Jan 19 '24 11:01 IsshikiHugh