amanbhandula / alphapose Goto Github PK
View Code? Open in Web Editor NEWAlphaPose Implementation in Pytorch along with the pre-trained weights
License: Other
AlphaPose Implementation in Pytorch along with the pre-trained weights
License: Other
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
每一次检测时坐标点的顺序在变??
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?
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
此为单个视频进行骨骼点检测,请问能实现多个视频批量进行检测吗?
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
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?
How to run this code on CPU machine.please guide me about this.Thanks
Can the code be run under the Ubantu system?thank u
${img_directory} in the code of demo.py,change it to my own directoryof imgs,but has wrong
Just wondering if it is possible to get this to run on an AMD GPU using OpenCL?
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 ?
Can you guide me how I apply my detection model or other models like yoloX as a detector in AlphaPose. In which lines of code that you feed bounding boxes to SSTN and SPPE module?
I used pip or conda install others,but ntpath failed,i dnt konw how to install it
Is there any problem? The pre-trained model is loaded and slice the first 17 outputs for COCO validation.
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.
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 !
If u are Chinese ,could u give me a contact with wechat or mail ,thanks.I am Chinese.
right now it is running on cpu but i want it to run on gpu kindly tell
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.