naver / dust3r

DUSt3R: Geometric 3D Vision Made Easy
https://dust3r.europe.naverlabs.com/
Other
4.65k stars 515 forks source link

'PointCloudOptimizer' object has no attribute '_get_msk_indices' #48

Closed cyh2713 closed 3 months ago

cyh2713 commented 3 months ago

Hi, I have a problem calling the preset_posefunction of the PointCloudOptimizerclass, I don't find the _get_msk_indices() function in the class or the parent class, can you please tell me the way to write this function or the code?

vincent-leroy commented 3 months ago

Well it is here: https://github.com/naver/dust3r/blob/f66cafda50d68fab87a14d82e4ffee9a233dda51/dust3r/cloud_opt/optimizer.py#L100

cyh2713 commented 3 months ago

Thank you, I'll update the code.