-
Notifications
You must be signed in to change notification settings - Fork 596
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
_conv_forward() error #162
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exception has occurred: TypeError
_conv_forward() takes 3 positional arguments but 4 were given
File "/irsa/lk/BONAI2/mmdet/models/backbones/vit_lora.py", line 574, in forward
x = self.proj(x) # (1,3,1024,1024) -> (1,768,64,64)
File "/irsa/lk/BONAI2/mmdet/models/backbones/vit_lora.py", line 132, in sam_hq_forward
x = self.patch_embed(x)
File "/irsa/lk/BONAI2/mmdet/models/detectors/obm_hq_double.py", line 187, in forward_train
image_embeddings, interm_embeddings = self.image_encoder.sam_hq_forward(img)
File "/irsa/lk/BONAI2/mmdet/models/detectors/obm_hq_double.py", line 79, in forward
return self.forward_train(img, img_metas, **kwargs)
File "/irsa/lk/BONAI2/mmdet/models/detectors/base.py", line 237, in train_step
losses = self(**data)
File "/irsa/lk/BONAI2/mmdet/apis/train.py", line 143, in train_detector
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/irsa/lk/BONAI2/tools/train.py", line 161, in main
train_detector(
File "/irsa/lk/BONAI2/tools/train.py", line 172, in
main()
TypeError: _conv_forward() takes 3 positional arguments but 4 were given
The text was updated successfully, but these errors were encountered: