Giter Site home page Giter Site logo

Comments (10)

YanChenkai avatar YanChenkai commented on May 18, 2024

请把-c path/to/yolox_s.pth.tar换成自己电脑权重文件的所在地...

from yolox.

liuwei3612 avatar liuwei3612 commented on May 18, 2024

图片

from yolox.

liuwei3612 avatar liuwei3612 commented on May 18, 2024

请把-c path/to/yolox_s.pth.tar换成自己电脑权重文件的所在地...

图片
我改成相应的路径后,还是报这样的错误

from yolox.

YanChenkai avatar YanChenkai commented on May 18, 2024

@liuwei3612 请大佬来解决吧,剩下的我不懂

如果正常的话,在打印出summary之后
| INFO | __main__:229 - Model Summary:Params: 8.97M, Gflops: 11.33
下一步应该是load模型参数,终端输出应该是
| INFO | __main__:240 - loading checkpoint

所以可以调试一下,查看一下demo.py中第229行到第240行之间哪里有问题?

还有我是在NVIDIA的docker里运行的,没有问题,如果实在没法解决要不要试一试?

from yolox.

liuwei3612 avatar liuwei3612 commented on May 18, 2024

@liuwei3612 请大佬来解决吧,剩下的我不懂

如果正常的话,下一步应该是load模型参数,终端输出应该是
| INFO | __main__:240 - loading checkpoint

所以可以调试一下,查看一下demo.py中第229行到第240行之间哪里有问题?

还有我是在NVIDIA的docker里运行的,没有问题,如果实在没法解决要不要试一试?

谢谢

from yolox.

Joker316701882 avatar Joker316701882 commented on May 18, 2024

@liuwei3612 Hi, does your machine have GPU?

from yolox.

liuwei3612 avatar liuwei3612 commented on May 18, 2024

@liuwei3612 Hi, does your machine have GPU?

有的,只有一个

from yolox.

Joker316701882 avatar Joker316701882 commented on May 18, 2024

Hi @liuwei3612 and all, we have updated demo.py. Many bugs are fixed. Please pull our latest branch!!
Now you can use --device cpu/gpu when running demo.py to specify the device (default CPU).

from yolox.

liuwei3612 avatar liuwei3612 commented on May 18, 2024

Hi @liuwei3612 and all, we have updated demo.py. Many bugs are fixed. Please pull our latest branch!!
Now you can use --device cpu/gpu when running demo.py to specify the device (default CPU).

谢谢你的回复,目前同步到最新baranch,默认的device是CPU,可以运行成功。但改成成GPU,就出错了,错误信息如下:
图片

目前我这边CUDA Version 10.1.243
工程运行的pytorch是什么版本啊,需要匹配的CUDA的版本是多少?

from yolox.

Joker316701882 avatar Joker316701882 commented on May 18, 2024

pytorch==1.9.0, but I think as long as >=1.7.0, it should be fine.
cuda==10.2

from yolox.

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.