Open meua opened 1 year ago
same question +1.
I have got the results.pkl correctly, the logs is following:
but when I run the ./tools/uniad_vis_result.sh I also got "KeyError traj
"
And I found no "traj" in results.pkl.
same question +1.
I have got the results.pkl correctly, the logs is following:
but when I run the ./tools/uniad_vis_result.sh I also got "KeyError
traj
"And I found no "traj" in results.pkl.
Please help me if you solve it, thank you.
I got following result jpgs
@meua @beyondpzk This is a bug from inconsistent results saving in the test process, when you visualize outputs from stage 1 only. You need the full results (stage 2). See https://github.com/OpenDriveLab/UniAD/issues/39#issuecomment-1617641348. We will fix it.
@meua @beyondpzk This is a bug from inconsistent results saving in the test process, when you visualize outputs from stage 1 only. You need the full results (stage 2). See #39 (comment). We will fix it.
Thank you very much, I finally output the visualization information through 2e2.
./tools/uniad_dist_eval.sh ./projects/configs/stage2_e2e/base_e2e.py ./ckpts/uniad_base_e2e.pth 1 && python ./tools/analysis_tools/visualize/run.py --predroot ./output/results.pkl --out_folder ./output_visualize --demo_video test_demo.avi --project_to_cam True
./tools/uniad_dist_eval.sh ./projects/configs/stage2_e2e/base_e2e.py ./ckpts/uniad_base_e2e.pth 1 && python ./tools/analysis_tools/visualize/run.py --predroot ./output/results.pkl --out_folder ./output_visualize --demo_video test_demo.avi --project_to_cam True
If you want to get visualization results, before end-to-end training or eval, you can check the run.py script and comment out the code about traj, you can get pv and bev images of det, like:
./tools/uniad_dist_eval.sh ./projects/configs/stage2_e2e/base_e2e.py ./ckpts/uniad_base_e2e.pth 1 && python ./tools/analysis_tools/visualize/run.py --predroot ./output/results.pkl --out_folder ./output_visualize --demo_video test_demo.avi --project_to_cam True
If you want to get visualization results, before end-to-end training or eval, you can check the run.py script and comment out the code about traj, you can get pv and bev images of det, like:
Okay, thank you very much for your input, I will try it soon.
Hello, I encountered the following error when executing the visualization command:
The contents of the ./tools/uniad_vis_result.sh file are as follows: