Giter Site home page Giter Site logo

Comments (1)

qili93 avatar qili93 commented on May 19, 2024

您好,根据报错提示,是昇腾软件栈CANN的错误,请尝试在镜像的 /root/ascend/log/debug/plog 目录下的 plog-xxxx.log 日志中定位 错误信息,例如 grep ERROR plog-*.log 定位到上方截图中的错误信息

image

您可以将定位到的错误信息回复到这个PR中我们这里先初步判断下可能的问题原因,也可以尝试将此错误信息反馈到华为昇腾社区 https://gitee.com/ascend/modelzoo/issues 进行进一步的咨询。

关于 “测阶段耗费时间很长,一张图像需要五六分钟,正常在gpu上只需要几秒即可” 这个可能是由于模型中的部分算子在NPU上没有对应的算子实现,从而部分算子是fallback到CPU上执行而导致的性能问题,可以尝试在运行之前输出 export GLOG_v=10 的环境变量,然后在运行相关的paddleocr的检测识别命令,在输出的debug日志中检查是否有类似 "fallbacking to CPU one" 类似的日志信息,具体可以参考这段代码 https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/phi/core/kernel_factory.cc#L325

谢谢 :)

from paddle.

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.