Coder Social home page Coder Social logo

paddle_yolo_py_demo's Introduction

paddle_yolo_py_demo

使用到的API主要可以参考文档 sdk路径/documents/Sophon_Inference_zh.pdf

python版本支持 3.5 - 3.8

安装Sophon Inference的python包

a) 在sdk目录find -name sophon.whl

选择对应的whl,se5、sm5选择./lib/sail/python3/arm_pcie里的轮子,sc5板卡选择./lib/sail/python3/pcie目录里的轮子。根据自己的python版本选择对应的轮子。

比如在sc5、python3.5就选择./lib/sail/python3/pcie/py35/sophon-2.2.0-py3-none-any.whl

b)安装

先卸载之前可能安装的包

pip3 uninstall sophon

安装

pip3 install sophon sophon-2.2.0-py3-none-any.whl

执行demo

python3 paddle_yolo_demo.py.py --bmodel yolov4_coco_416_int8.bmodel --input test2.mp4

执行后会在生成的result_imgs目录里看到结果图片

paddle_yolo_py_demo's People

Contributors

anbaolei1984 avatar sophonsilk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Alan Guo avatar felix_du avatar  avatar

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.