Open shaozheng777 opened 1 month ago
Hi, thank you for your great work! But when I tested another model, I encountered the following problems.
Starting Evaluation...
0%| | 0/162 [00:00<?, ?it/s]
Traceback (most recent call last):
File "tools/test.py", line 290, in
Have you pull the latest code?
projects/mmdet3d_plugin/core/evaluation/occ_metrics.py:
n_cl * gt[k].astype(int) + pred[k].astype(int), minlength=n_cl * 2 to n_cl gt[k].astype(int) + pred[k].cpu().numpy().astype(int), minlength=n_cl ** 2
python tools/test.py /home/wh/code/FlashOCC/projects/configs/flashocc/flashocc-stbase-4d-stereo-512x1408_4x4_1e-2.py /home/wh/code/FlashOCC/ckpts/flashocc-stbase-4d-stereo-512x1408.pth --eval mAP
Originally posted by @shaozheng777 in https://github.com/Yzichen/FlashOCC/issues/66#issuecomment-2384702322