Backpropagation skew iou
kelvinkoh0308 opened this issue · 4 comments
Hi, does backprop works on you skew iou calculation? This is because from i saw that you were using shapely in your calculation of skewiou which is not tensors
Sorry, I forget it, it has been a long term last time I ran this code. And it seems no backprop conducted here.
I'll release a codebase with cuda riou calculation later. You can also modify yourself( is it the reason for not performing excellently here?maybe ).
@ming71 Thanks your reply, I am looking for the implementation of skewiou in either numpy,tf or pytorch but most of the source code online are using shapely package
@ming71 Thanks your reply, I am looking for the implementation of skewiou in either numpy,tf or pytorch but most of the source code online are using shapely package
Hello, I am also thinking about this issue recently. In fact, there is no need to obtain the gradient if skewiou is only used as a standard for label assignment . But if it is integrated into loss function, then it needs to be derived. There are two solutions:
- Derive the back-propagation formula and implement it with CUDA
- Use built-in method of pytorch to achieve riou calculation (autograd helps).
What is your opinion? Have you solved this problem?
Hi
I haven't solve the problem because I am not familiar to implement it with cuda, I also did try to search the riou calculation in python but none of the implementation is in python.