We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the function detail of gather() is different with tensorflow when it implements interpolate_bilinear()
I use this :
linear_coordinates = torch.reshape(linear_coordinates,[batch_size*num_queries]) gathered_values = torch.index_select(flattened_grid, 0, linear_coordinates)
to replace
gathered_values = torch.gather(flattened_grid.t(), 1, linear_coordinates)
at 342 line
It should be note that
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the function detail of gather() is different with tensorflow when it implements interpolate_bilinear()
I use this :
linear_coordinates = torch.reshape(linear_coordinates,[batch_size*num_queries])
gathered_values = torch.index_select(flattened_grid, 0, linear_coordinates)
to replace
gathered_values = torch.gather(flattened_grid.t(), 1, linear_coordinates)
at 342 line
It should be note that
The text was updated successfully, but these errors were encountered: