-
Notifications
You must be signed in to change notification settings - Fork 436
Checking if bev_pool is compiled properly #63
Comments
Actually, it seems my compilation is okay; evaluating the camera-only baseline yields:
which is lower than expected (mAP 33.25, NDS 40.15) but still non-trivial. Is my usage incorrect by any chance? |
That's quite interesting. I actually did not test Regarding the evaluation results, may I ask how many GPUs are you using? I also think the compilation should be correct, but such an accuracy drop looks unexpected to me. |
Evaluating is using 4 GPUs. Actually,
right after
Then, I made another file loading the pickle results
And for some reason, the results are different!
I've never had this issue with cuda operations before, and I'm not quite sure how to go about debugging this issue since it clearly works as part of the entire pipeline but not on its own |
Another detail: when I paste the toy example
and run it as part of the pipeline by pasting it after this line bevfusion/mmdet3d/models/vtransforms/base.py Line 167 in cb6cd78
the correct result is printed. Is it possible that there's something wrong with my installation? |
I'm still working on that. Will get back to you once I finished investigating this issue. |
Hi @Divadi, I looked into this issue recently. Would you mind trying out CUDA_VISIBLE_DEVICES=4 python [your script].py and modify the device to Best, |
By the way, for multi-gpu evaluation, would you mind also exploring these two directions?
|
Before the change, with the toy example above:
After the change:
Seems like that was the issue; really odd, but good catch!
I'll look into this soon, need a bit of time |
When evaluating with just one GPU or all GPUs, results are same as before. |
Thanks for the update. I'll investigate that. |
@kentang-mit I think Pillow 8.4.0 should be listed as an important requirement (sorry if I missed it). New results:
|
Thank you for the very important hint. I'll add that to the README immediately! |
Hello, thank you for releasing the code.
I was trying to use bev_pool in other projects, but I found that my compilation of bev_pool doesn't seem to be yielding expected results. For a toy example:
the output is
when I would expect it to be 5.0.
Please let me know if I have incorrectly used the function.
My environment is PyTorch 1.10.1, cudatoolkit 11.3.1, A6000 GPU.
Thank you!
The text was updated successfully, but these errors were encountered: