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
Got this error:
File "train.py", line 211, in build_target pred_ious = bboxes_iou(pred[b].view(-1, 4), truth_box, xyxy=False) RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
Solved it by changing view:
view
pytorch-YOLOv4/train.py
Line 211 in a65d219
to reshape
reshape
The text was updated successfully, but these errors were encountered:
update based on Tianxiaomo#553
9fbc868
在view前面加.contiguous()
Sorry, something went wrong.
No branches or pull requests
Got this error:
Solved it by changing
view
:pytorch-YOLOv4/train.py
Line 211 in a65d219
to
reshape
The text was updated successfully, but these errors were encountered: