-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any plan to implement PoseFlow on pytorch branch? #97
Comments
If you want to use PoseFlow in your project, you can just download it from the main branch and copy it to your project. After that, you also have to build 'deepmatching' to run PoseFlow as the following:
I had a little problem with the dependencies, but I solved it. You can check this blog for more information: https://blog.csdn.net/rhythmjnh/article/details/79928134 It is written in Chinese and I do not know Chinese. So, I just use google translate to read the blog. But, the instruction is really easy to follow. Good luck! |
@tmanh Thanks! |
Thanks! But I still don't understand how to use tracker.py for not the PoseTrack dataset but other original videos that I recorded. |
@YuliangXiu Can you please have a look? |
@yuuuuwwww You can check the tracker.py in PoseFlow, the following code is used to track the poses between two frames. You can modified it to make it work with your project. Good Luck!
|
@tmanh |
@yuuuuwwww @tmanh PoseFlow is a purely independent python module, there is no deep learning code in it, so you can just download it and use it in your pose estimation results generated by AlphaPose or some other pose estimators. I have already added one sample.json, which is the standard input json for tracker.py. As for the DeepMatching, here is DeepMatching that I wrote before, hope it can help you. |
Fast ORB version is done, you can follow the latest README to generate matching files without DeepMatching. |
@yuuuuwwww hello, |
@my-hello-world |
@yuuuuwwww @ashar-ali thanks~~i will have a try |
thanks @yuuuuwwww |
@yuuuuwwww @YuliangXiu thanks!i got the .json-files. |
@yuuuuwwww hi,when I combine the deepmatching module,then there is an error.How to solve the problem below?I have done as follows: the problem is : import deepmatching |
Hi, you don’t need to use deep matching anymore. You can use SORT which is also in the repository.
Sincerely,
Anh Minh Truong.
On Dec 17, 2018 10:10 +0100, pingqi <[email protected]>, wrote:
@yuuuuwwww<https://github.com/yuuuuwwww>
hi,when I combine the deepmatching module,then there is an error.How to solve the problem below?I have done as follows:
make clean all
make python
python
import deepmatching
the problem is :
root@c479899290a0:/home/xxx/AlphaPose-pytorch/PoseFlow/deepmatching# python
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import deepmatching
Traceback (most recent call last):
File "", line 1, in
File "/home/xxx/AlphaPose-pytorch/PoseFlow/deepmatching/deepmatching.py", line 32, in
_deepmatching = swig_import_helper()
File "/home/xxx/AlphaPose-pytorch/PoseFlow/deepmatching/deepmatching.py", line 28, in swig_import_helper
_mod = imp.load_module('_deepmatching', fp, pathname, description)
File "/root/anaconda3/lib/python3.6/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/root/anaconda3/lib/python3.6/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: /home/xxx/AlphaPose-pytorch/PoseFlow/deepmatching/_deepmatching.so: undefined symbol: PyCObject_Type
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#97 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ARj8NiwnPLlZUjCiArE9unhHzC5mfsX2ks5u51-MgaJpZM4WPTEp>.
|
@tmanh Hi,where is the SORT algorithm? Is it in https://github.com/MVIG-SJTU/AlphaPose branch? I can't find it. And I read the README.md file , it is two method ,one is deepmatching and another is orb.So , is the SORT method proposed recently? But, I event don't know why the PyCObject_Type problem happened.How to solve it? Thank you. |
Sorry, it's Fast ORB not SORT :D (https://github.com/MVIG-SJTU/AlphaPose/blob/master/PoseFlow/tracker.py) About deep matching compiling bug, I think you could try once again with this blog: https://blog.csdn.net/rhythmjnh/article/details/79928134 If everything is still the same, check the deepmatching folder, there is something wrong with _deepmatching.so |
@tmanh Thanks.There are two versions of python. So,CPYTHONFLAGS in Makefile do not match the python |
PoseFlow(General Version) has already been released, now you can do pose tracking on any private dataset, the new version also supports pose tracking results visualization. @yuuuuwwww @tmanh @my-hello-world @pingqi |
@YuliangXiu I'm also impressed with the same issue. |
you can refer to the original paper "PoseFlow: Efficient Online Pose Tracking" to find the usage of deepmatching. @Tylerjoe |
okay,Thanks
Okay,thanks |
@YuliangXiu Hi, I have studied the a paper of "PoseFlow: Efficient Online Pose Tracking" .In my opinion, the PoseFlow maybe only use the orb or deepmatching algorithm , and where reflect the idea of the Pose Flow Building (PF-Builder) and Pose Flow NMS(PF-NMS)? |
Hello,
I'm very impressed with your project AlphaPose!
I really would like to use AlphaPose to
track
pose in my project, but it seems PoseFlow is not implemented on pytorch branch now.Are you planning to implement PoseFlow on pytorch branch?
If not, is it possible to run PoseFlow and get tracked pose with following steps?
alpha-pose-results-{...}.json
by executingvideo_demo.py
from pytorch branchPoseFlow/tracker.py
to enable it to read images that were extracted from my video and deepmatching resultPoseFlow/tracker.py
and get resultThe text was updated successfully, but these errors were encountered: