Skip to content
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

May I ask how your OPV2V dataset is processed #42

Open
yaoyaoling123 opened this issue Jan 1, 2025 · 2 comments
Open

May I ask how your OPV2V dataset is processed #42

yaoyaoling123 opened this issue Jan 1, 2025 · 2 comments

Comments

@yaoyaoling123
Copy link

May I ask if your OPV2V dataset is organized in this way after downloading? I am currently working on
“python opencood/tools/train.py -y None --model_dir opencood/logs/HEAL_m1_based/stage2/m2_alignto_m1”
The error message is as follows: “visibility_map = np.asarray(cv2.cvtColor(cav_contents[0]["bev_visibility.png"], cv2.COLOR_BGR2GRAY))
cv2.error: OpenCV(4.5.1) /tmp/pip-req-build-jhawztrk/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor”
However, the original OPV2V dataset does not contain the “bev_visibility.png” file. It seems to be present in the OPV2V-H dataset, but the root directory pointed to by the config. yaml file is indeed the OPV2V dataset folder.
截图 2025-01-01 10-31-30

@yifanlu0227
Copy link
Owner

Screenshot 2025-01-01 at 15 23 32

https://ucla.app.box.com/v/UCLA-MobilityLab-OPV2V/folder/279976559690

Hi, the bev_visibility.png is provided by the OPV2V authors in additional-001.zip. You need to download them and extract them together with OPV2V

@yaoyaoling123
Copy link
Author

Thank you for your prompt and detailed reply. I have successfully started training according to your steps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants