-
Notifications
You must be signed in to change notification settings - Fork 30
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
Is there a bug when num_feature_levels = 4? #30
Comments
1 similar comment
@tobymu Did you solve the problem? |
@tobymu Did you solve the problem? I really want to figure it out... |
Me too. I also have this error for train single with num_feature_level = 2. |
I can run the code when num_feature_levels = 1.
When num_feature_levels = 4, here is the error (ref_frame_num = 10):
File "deformable_transformer_multi.py", line 231, in forward
ref_spatial_shapes = spatial_shapes.expand(BS,self.num_ref_frames, 2).contiguous()
RuntimeError: The expanded size of the tensor (10) must match the existing size (4) at non-singleton dimension 1. Target sizes: [1, 10, 2]. Tensor sizes: [4, 2]
The text was updated successfully, but these errors were encountered: