Skip to content
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

error #16

Open
Huster-Hq opened this issue Jan 6, 2023 · 1 comment
Open

error #16

Huster-Hq opened this issue Jan 6, 2023 · 1 comment

Comments

@Huster-Hq
Copy link

one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [2, 128, 80, 88]], which is output 0 of ReluBackward0, is at version 3; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

@voidrank
Copy link
Contributor

voidrank commented Jan 7, 2023

Hi @Huster-Hq

Check these following 2 things:

  1. Make sure the height and width of your input image are multiple of 16
  2. Make sure you are using the correct version of mmcv and mmdet

Best,

Shiyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants