Coder Social home page Coder Social logo

fight's Introduction

AlphaPose安装

按照AlphaPose/docs/INSTALL.md步骤即可(使用Python3.7)

使用Python3.9时,在python setup.py build develop过程中,可能会出现以下错误。

  • 会报setuptools的deprecated方法错误,执行以下操作:

    pip install setuptools==65.6.3

  • 在安装halpecocotools时,报NoneType错误。

    手动pip install halpecocotools仍失败,报GCC文件不存在错误。

    可参照此处解决方案:HaoyiZhu/HalpeCOCOAPI#1

    执行下面手动安装命令:

    pip3 install git+https://github.com/Ambrosiussen/HalpeCOCOAPI.git#subdirectory=PythonAPI

    然后清除build文件:

    python setup.py clean --all

    重新执行build develop

  • 运行时报numpy的deprecated错误,报opencv的numpy错误,安装旧版本:

    pip install numpy==1.21.5 scipy==1.7.3 opencv-python==4.7.0.68

    如果仍报numpy的float方法错误,则将numpy降级为<1.20

AlphaPose识别

  • 如果输出视频时卡住,可以考虑是否CPU内存不足,将运行时参数qsize调低。
  • 如果非内存不足问题,可以将detbatch参数改为1.

数据可视化

pip install plotly pandas==1.3.5

阈值调整

针对fight-sur数据集较弱的视频质量,对AlphaPose中YOLO和跟踪的阈值进行调整:

detector/yolox_cfg.py -> cfg.CONF_THRES = 0.05 (default = 0.1) detector/yolox_cfg.py -> cfg.NMS_THRES = 0.1 (default = 0.6) trackers/tracker_cfg.py -> cfg.conf_thres = 0.05 (default = 0.5)

fight's People

Contributors

song-gq avatar

Watchers

 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.