Giter Club home page Giter Club logo

openpifpaf's People

Contributors

bertoni9 avatar dmizr avatar duncanzauss avatar ganler avatar george-adaimi avatar junedgar avatar mdenna-nviso avatar svenkreiss avatar taylormordan avatar thancaocuong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openpifpaf's Issues

posetrack2018

Where can I find an example of posetrack2018๏ผŸ
predict & train
Thank u for your help. QAQ

Cannot install with Torch 2.1.1, cpp extension undefined symbol

I'm trying to install with Torch 2.1.1, I remember it working with the nightly.
Here is the error:

OSError: /home/kirell/.cache/pypoetry/virtualenvs/emv-IgKv7S_O-py3.10/lib/python3.10/site-packages/openpifpaf/_cpp.so: undefined symbol: _ZN3c104impl12PyObjectSlotD1Ev
b

indexerror while trainning on a subset of wholebody keypoints

I am following instructions here to train on a subset of wholebody keypoints (excluding face and hand keypoints): https://openpifpaf.github.io/plugins_wholebody.html#using-only-a-subset-of-keypoints

I believe I have followed all the step: prepared train and eval annotation json files and commenting parts of constants.py

I realized that this constants.py will not be picked up when I run openpifpaf.train from the command line, so I created a short train.py file with this code:

##### train.py #####
import openpifpaf
import os

# this is the local constant.py where I have commented out unnecessary code
import constants

# here I am overriding constants in the package
openpifpaf.plugins.wholebody.constants = constants

# here I am calling openpifpaf.train as a shell command since I couldn't figure out how to call it within python directly
os.system('python -m openpifpaf.train --lr=0.0001 --momentum=0.95 --b-scale=3.0 --epochs=150 --lr-decay 130 140 --lr-decay-epochs=10 --batch-size=16 --weight-decay=1e-5 --dataset=wholebody --wholebody-upsample=2 --basenet=shufflenetv2k16 --loader-workers=16 --wholebody-train-annotations=./superform_wholebody_train.json --wholebody-val-annotations=./superform_wholebody_val.json --wholebody-train-image-dir=./train2017/ --wholebody-val-image-dir=./val2017/')

#################

I am getting this error:
indexerror: boolean index did not match indexed array along dimension 0; dimension is 133 but corresponding boolean dimension is 23
Seems like it is picking up the original sized array from somewhere, but after hours of racking my brain I couldn't figure what's wrong. Is there a better way to do this?

There might be a bug somewhere and/or the documentation needs to be updated.

when i try to run v0.14.0 from source code, it raise ImportError.

I clone the source code from github, then i want to run the openpifpaf/src/openpifpaf/predict.py file.And it raise error.I tracked down the issue and found that the error came from cpp_extension.register_ops()ใ€‚

extfinder = importlib.machinery.FileFinder(lib_dir, loader_details)
ext_specs = extfinder.find_spec("_cpp")
if ext_specs is None:
raise ImportError

It needs some openpifpaf._cpp files where i found in setup.py.
I want to run from the source code, and i do not know how to build this openpifpaf._cpp file,please help!!

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.