Giter VIP home page Giter VIP logo

Comments (7)

 avatar commented on May 26, 2024

在iter为70的时候停止了

from retinanet-pytorch.

yatengLG avatar yatengLG commented on May 26, 2024

能跑就不是代码的问题,你可以检查下是否你数据里面有空数据。

from retinanet-pytorch.

yatengLG avatar yatengLG commented on May 26, 2024

这个是在做掩码的时候,出错的,
predicted_locations = predicted_locations[pos_mask, :].view(-1, 4)
也就是这个索引是不存在的,pos_mask全为空,也就是运行到一个数据里面没有正例。
所以掩码出问题了,然后空数据view失败了

from retinanet-pytorch.

 avatar commented on May 26, 2024

这个是在做掩码的时候,出错的,
predicted_locations = predicted_locations[pos_mask, :].view(-1, 4)
也就是这个索引是不存在的,pos_mask全为空,也就是运行到一个数据里面没有正例。
所以掩码出问题了,然后空数据view失败了

嗷嗷,好的,我需要做的就是去检查数据吗?

from retinanet-pytorch.

yatengLG avatar yatengLG commented on May 26, 2024

对的,你排查下数据里面,有没有空数据,就是不存在你需要检测的目标的,删了就好了。

from retinanet-pytorch.

 avatar commented on May 26, 2024

对的,你排查下数据里面,有没有空数据,就是不存在你需要检测的目标的,删了就好了。
我现在将数据集改变为voc07的数据集,但是同样的出现了此错误

from retinanet-pytorch.

fengzhiguroll avatar fengzhiguroll commented on May 26, 2024

我也是这样的情况,换成VOC数据集,出现同样的错误
报错:RuntimeError: copy_if failed to synchronize: cudaErrorAssert: device-side assert triggered

from retinanet-pytorch.

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.