Git Product home page Git Product logo

Comments (6)

LUO77123 avatar LUO77123 commented on May 23, 2024

另外,大佬如何修改可以不用cuda加速喃

from rotated_iou.

LUO77123 avatar LUO77123 commented on May 23, 2024

发现问题所在了,diou中w, h = enclosing_box(corners1, corners2, enclosing_type),返回的w, h会有1-2变成喃,导致后续都nan,这块代码能看是bug吗

from rotated_iou.

lilanxiao avatar lilanxiao commented on May 23, 2024

大佬,我在本地运行就可以,一到服务器上,就显示这个warning: missing return statement at end of non-void function "compare_vertices",还是可以install,但是运行起来就全部是nan

我没遇到过这个问题。可能是环境不一致导致的。那块CUDA代码写的确实不好,所以我试着在debug branch上把它去掉了。

from rotated_iou.

lilanxiao avatar lilanxiao commented on May 23, 2024

发现问题所在了,diou中w, h = enclosing_box(corners1, corners2, enclosing_type),返回的w, h会有1-2变成喃,导致后续都nan,这块代码能看是bug吗

能不能提供触发这个bug的测试代码呢?我没有遇到过这个问题。

from rotated_iou.

LUO77123 avatar LUO77123 commented on May 23, 2024

发现问题所在了,diou中w, h = enclosing_box(corners1, corners2, enclosing_type),返回的w, h会有1-2变成喃,导致后续都nan,这块代码能看是bug吗

能不能提供触发这个bug的测试代码呢?我没有遇到过这个问题。

大佬,我是将你的代码替换yolov5的box计算,进行旋转检测,避免nan修改如下
image
但是网络学习不到东西
image

我在尝试一下debug版本,

from rotated_iou.

LUO77123 avatar LUO77123 commented on May 23, 2024

发现问题所在了,diou中w, h = enclosing_box(corners1, corners2, enclosing_type),返回的w, h会有1-2变成喃,导致后续都nan,这块代码能看是bug吗

能不能提供触发这个bug的测试代码呢?我没有遇到过这个问题。

iou_loss查了,有一个nan,反查是W里面出现一个nan
image
继续查,
image
接着是
image
应该是 ----》 proj = point_line_projection_range(lines, points) # (..., 24) 里面有问题

from rotated_iou.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.