GithubHelp home page GithubHelp logo

alphapose's Issues

Run AlphaPose for all images:TypeError: only integer tensors of a single element can be converted to an index

reason:invalid parameter in cv2.ellipse2Poly() in fn.py
raw code:

line 214 in fn.py : polygon = cv2.ellipse2Poly((int(mX),int(mY)), (int(length/2), stickwidth), int(angle), 0, 360, 1)

stickwidth is a float tensor which is not suitable for param.axes in cv2.ellipse2Poly(), so l tried to turn "stickwidth" to "int (stickwidth)",
thus promising code running. but this may affect the pattern of skeleton

List of human keypoint names available?

I am looking for the names of the keypoints that this method returns, specifically 17 different keypoint names like Wrist, Ankle, Knee, etc. Is this information available somewhere?

where is the resout imgs??

Input dir: Run AlphaPose for all images in a folder with:

python3 demo.py --indir ${img_directory} --outdir examples/res

能否多个视频同时进行检测?

python video_demo.py --video ${path to video} --outdir examples/res --save_video
此为单个视频进行骨骼点检测,请问能实现多个视频批量进行检测吗?

Training AlphaPose

For retraining the model with my own dataser, I just need the h5 file of my dataset and the images?
In this case, Who I can retrain it?

I tried to copy the structure of the Coco dataset with my images and my .h5 and it doesn't seem to work.

Thanks in advance

question about img.py and opt.py in train_sppe/src/predict

when i run train.py i meet this error:
Traceback (most recent call last):
File "C:\run-taining-alphapose\AlphaPose-master\AlphaPose-master\train_sppe\src\train.py", line 14, in
from evaluation import prediction
File "C:\run-taining-alphapose\AlphaPose-master\AlphaPose-master\train_sppe\src\evaluation.py", line 12, in
from predict.opt import opt
File "C:\run-taining-alphapose\AlphaPose-master\AlphaPose-master\train_sppe\src\predict\opt.py", line 1
../opt.py
^
SyntaxError: invalid syntax
about the opt.py in predict,please tell me how to modify opt.py and also img.py in train_sppe/src/predict?

Run on CPU

How to run this code on CPU machine.please guide me about this.Thanks

AlphaPose

I have to run it for multiple videos and get output in separate json file. Do any body has code for that ? and also get the output video representing keypoints in the video ?

install ntpath

I used pip or conda install others,but ntpath failed,i dnt konw how to install it

Terminate called without an active exception error

While I'm trying to run demo.py, the following error popping up.

# python demo.py --indir ${my_img_directory} --outdir ${my_output_directory} --save_img
Loading YOLO model..
Loading pose model from ./models/sppe/duc_se.pth
0it [00:00, ?it/s]
===========================> Finish Model Running.
===========================> Rendering remaining images in the queue...
===========================> If this step takes too long, you can enable the --vis_fast flag to use fast rendering (real-time).
terminate called without an active exception
Aborted (core dumped)

Is this problem caused by reading ./models/sppe/duc_se.pth file? Does anyone has the same problem? Any suggestions are welcome.

question about nClasses

Found that the 'conv_out' in check_model named 'duc_se.pth' have shape of (batchsize, 33 , 80, 64),,keypoints only have 17, would you tell me why 33 but not 17? thanks !

Are u Chinese?

If u are Chinese ,could u give me a contact with wechat or mail ,thanks.I am Chinese.

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.