-
Notifications
You must be signed in to change notification settings - Fork 134
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
Mismatch between comment and code #30
Comments
Hey Chris, Thanks for point this out -- the comment was outdated, and we are indeed doing bottom crop (same as the KITTI dataset). |
So does this mean that the adaptation of the intrinsics should be changed to:
I crop my image to owidth, oheight, and then scale it by a factor imScale. Thus I changed the code in the kitti_loader as such (with my own intrinsics):
and in main.py@L82 to:
Are there any other locations in the code where the intrinsics are used? I did not find any, but I am experiencing similar problems to #19 |
There is an Intrinsics class in inverse_warp.py that performs similarly to your code.
If you use VLP-32 as input, it is not surprising that the pretrained model does not work (since it was trained on HDL-64 lidars). Some finetuning on your own dataset might be necessary. |
so the code should be changed ? |
When doing BottomCrop, I think it should be:
I don't know if it is correct. |
Hi,
Thank you for sharing your code with us! I am trying to evaluate the method on our own dataset. We gathered larger images and thus have to crop/resize them. When looking at the code, the comment in kitti_loader.py states:
The optical center is then adjusted. However, in lines 145 and 168, a bottom crop is applied to the images. Thus, if I understand the code correctly, the full crop distance has to be subtracted from the focal centers.
Can you check if my understanding in this regard is correct?
Kind regards,
Chris
The text was updated successfully, but these errors were encountered: