opendatalab / MLS-BRN

[CVPR 2024] 3D Building Reconstruction from Monocular Remote Sensing Images with Multi-level Supervisions
34 stars 2 forks source link

Predict my own dataset #6

Open mvstu opened 3 days ago

mvstu commented 3 days ago

Hello, thank you for your excellent work and sharing! May I ask if I am able to predict my own data and how to handle the pkl file obtained? Thank you!

zhenghaohu commented 1 day ago

Thank you for your attention. Regarding predicting your own data, you can refer to the relevant tutorials of MMDetection to organize your data in COCO format, modify the corresponding test data parameters in the configs file, and then run the test script. As for how to process the predicted .pkl file, you can refer to the relevant code in tools/bonai/bonai_evaluation.py.

mvstu commented 1 day ago

Thank you for your patient answer! Also, may I ask a question? Is it okay if my test image is not labeled? So, using the training model from Beijing and Xi'an to predict my data? At the same time, when I was running your test script, I was missing the file 'bonai_sthanghai_xian_test_roof.json'. I checked the data and the original file 'bonai/bonai_ievalation-py', but I only have the file 'bonai_sthanghai_xian_test.json'. May I ask why this is happening? How can I obtain this file? Thank you for your answer!

zhenghaohu commented 1 day ago
mvstu commented 1 day ago

Thank you for your detailed and patient answer! Let me try it, thank you! Wishing you a happy life and smooth scientific research!