-
Notifications
You must be signed in to change notification settings - Fork 3
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
ScanNet evaluation doesn't match paper #3
Comments
Hi, Thanks for your attention! I checked the code and it runs well here for me. May I ask, are your testing environments the same as the those in environment.yml? We used an old Pytorch version (1.1.0) since we built the code based on NAS. It might have some inconsistency with the latest version. |
I am using pythorch 1.7.1 as my GPU only supports CUDA 11.0 and up. |
I see. I have tried to use Pytorch 1.7.1 right now and it indeed produces bad results, while the original environment works well. |
Thanks for your help! |
Hi, I just found the change of torch.nn.functional.grid_sample is the problem. It affects the construction of feature cost volume. "Default grid_sample and affine_grid behavior has changed to align_corners=False since 1.3.0. Please specify align_corners=True if the old behavior is desired. See the documentation of grid_sample for details." So change the the grid sample in https://github.com/thuzhaowang/idn-solver/blob/6b5dcfd94f35cc118c5dee0f98401e4848e670e3/core/utils/inverse_warp.py#L108 and https://github.com/thuzhaowang/idn-solver/blob/6b5dcfd94f35cc118c5dee0f98401e4848e670e3/core/utils/inverse_warp_d.py#L123 with align_corners=True will solve the problem for higher version of Pytorch (1.3.0 or later). |
Hi,
Thank you for sharing your code!
I ran test on scannet following the instructions but I get much worse results.
Do you know what might be happening?
Here's the first output for
scene0707_00
The text was updated successfully, but these errors were encountered: