-
Notifications
You must be signed in to change notification settings - Fork 13
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
How can I generate BEV features? #8
Comments
Thanks for your interest in our work! Can you maybe put some breakpoints in this file to see whether this line actually works for you? I also encountered this issue initially, but then decided to use this approach to save the BEV features locally and then delete them from RAM, repeating this process one frame by one frame so that memory is not occupied. As a reference my workstation has 64GB RAM in total. |
Thank you for your response! I followed your suggestion and put some breakpoints in the file, but found that it didn't work for me. The program doesn't seem to execute this part, and I'm still encountering OOM issues. I'd like to ask: When running eval.py, does the program first evaluate the map before extracting BEV features, or are these two steps performed simultaneously? During execution, I can't see the map evaluation results before the process gets killed. Do you have any other suggestions to resolve this issue? |
Uhmm, weird, this is the actual evaluation code behind When running eval.py, it follows a sequential process, camera images -> BEV features -> vectorized map. What I did is that besides saving the vectorized map, I also saved the intermediate BEV features. So these two steps are kind of performed simultaneously. The actual map metric evaluation happened only when you finish predicting all the vectorized maps, then it starts to calculate the actual metrics. I think that is why you can't see the map evaluation results before the process get killed. As a first step, except for trying out the method mentioned in the first paragraph, i.e., finding all the |
I truly appreciate the excellent work and comprehensive documentation you've provided! I'm encountering an issue regarding BEV feature storage. According to the provided documentation, during evaluation I run the following code to save BEV features:
However, when executing this code, I observe enormous memory consumption. The process gets killed once memory usage reaches 100%, making it impossible to complete MapTR map evaluation and BEV feature saving. Could you share what memory size you typically use when storing BEV features? Do you have any recommendations for my situation?
The specific error messages are as follows:
The text was updated successfully, but these errors were encountered: