Code Monkey home page Code Monkey logo

dl-practise / opensitup Goto Github PK

View Code? Open in Web Editor NEW
214.0 214.0 59.0 79.25 MB

OpenSitUp是一个基于姿态估计的开源项目,旨在帮助对姿态估计感兴趣的朋友,能够从零开始搭建一个在android手机上运行的仰卧起坐计数APP。主要的技术难点为如何让计算量较大的人体姿态估计网络流畅的运行在手机端,并且实现仰卧起坐的计数功能。掌握了这个项目的原理之后,可以很方便的迁移到类似的运动,健身APP当中。

Python 100.00%

opensitup's Issues

IndexError: index 4 is out of bounds for axis 0 with size 3

IndexError: Caught IndexError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "D:\acaconda\envs\mmpose\lib\site-packages\torch\utils\data_utils\worker.py", line 202, in _worker_loop
data = fetcher.fetch(index)
File "D:\acaconda\envs\mmpose\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\acaconda\envs\mmpose\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\lvelu\Desktop\OpenSitUp-main\OpenSitUp-main\Trainer\data\person_keypoint_txt.py", line 219, in getitem
heatmap_c = heatmap[labels_kp_name]
IndexError: index 4 is out of bounds for axis 0 with size 3

博主你好,我在用你的代码跑我自己的模型的时候,我自己的数据集关键点数量是6个,我改了cfg文件里的配置信息,但是在运行的时候在person_keypoint_txt.py问价卡住,报错如上所述,请问怎么解决呀,冒昧打扰

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.