-
Notifications
You must be signed in to change notification settings - Fork 3
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
Yolov7_OBB_KFIOUrun-time error #6
Open
denghuimin1
wants to merge
101
commits into
SSTato:master
Choose a base branch
from
Suppersine:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
featuring KFIOU
featuring KFIOU
Added KFIOU
Disabled mmdetection calls
KFIOU Enabled
Removed the weight loss module
KFIOU Implemented in the OTA Loss
KFIOU can now return 2 variables
xyxy2xywh redefined inside to avoid circular import
revised data source
class index pre-defined before indexing the p_theta
Run on CPU only to avoid device transfer error
device transfer experiment on line 250
Attempted to move newbox1 & 2 to GPU (Line 247)
Mean angular method + KFIOU prep revised
Float32 support for SIGMA
Sigma_p&t converted to float32 before processing & finalised with float16
mmrotate's funtions removed, leaving only LX-CLY's
The uselessness of the internal variable "p_theta" has been identified
You must manually define the angular mode (CSL for LE-def [-90,+90) & OOCV [-90, 0) for KLD & KFIOU). Otherwise, the rboxs_utils.py file will not run.
You must manually define the angular mode (CSL for LE-def [-90,+90) & OOCV [-90, 0) for KLD & KFIOU). Otherwise, the rboxs_utils.py file will not run.
To compare and contrast the metrics in each loss mode & different angulation, you must manually define the angular mode (CSL for LE-def [-90,+90) & OOCV [-90, 0) for KLD & KFIOU). Otherwise, the rboxs_utils.py file will not run.
added samename functionality
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Traceback (most recent call last):
File "train.py", line 656, in
main(opt)
File "train.py", line 553, in main
train(opt.hyp, opt, device, callbacks)
File "train.py", line 350, in train
scaler.scale(loss).backward()
File "/usr/local/lib/python3.8/dist-packages/torch/tensor.py", line 307, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
File "/usr/local/lib/python3.8/dist-packages/torch/autograd/init.py", line 150, in backward
grad_tensors = make_grads(tensors, grad_tensors)
File "/usr/local/lib/python3.8/dist-packages/torch/autograd/init.py", line 51, in _make_grads
raise RuntimeError("grad can be implicitly created only for scalar outputs")
RuntimeError: grad can be implicitly created only for scalar outputs
Hello author, I run according to your instructions and there is an error