yolo dectection problem #2233
Unanswered
deligenters
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @deligenters Would you be able to share a code example for your issue? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i start to a yolostart, it can work ,but when i try to amplify loss_obj only,
such as config = {"attack_losses": [ "loss_box"]} ,it does 't work,this is message:
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
the ComputeLoss just work when only contains "loss_total", in fact "loss_total" is sum of "loss_box", "loss_obj", "loss_cls"。but i just try to amplify loss_obj 。
what i can do ?
Thank in advance.
Beta Was this translation helpful? Give feedback.
All reactions