Skip to content
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

Google Colab demo with video input #25

Open
sharmaabhishekk opened this issue Mar 10, 2020 · 5 comments
Open

Google Colab demo with video input #25

sharmaabhishekk opened this issue Mar 10, 2020 · 5 comments

Comments

@sharmaabhishekk
Copy link

Thank you for this repository.

I am trying to get a AlphaPose+PoseFlow workflow on videos to run on Google Colab. The AlphaPose part is fine - I'm getting the alphapose-results.json.

However, how do I run PoseFlow on it (since I don't have a image directory -just a video - and image_dir is a necessary argument for tracker-general.py)

My notebook is here.

@jpbranson
Copy link

jpbranson commented Mar 27, 2020

The only solution I could find was to extract all the video frames into a directory - run AlphaPose on that directory, then use the result to run PoseFlow.

Also, you may already know this, but I think PoseFlow requires Python 2.7. I had to create separate Google Colab notebooks - one for AlphaPose with Python 3, and one for PoseFlow with Python 2.7. I manually moved the alphapose_results.json from the former to the latter. I may be missing something though, I'm new to Python

@sharmaabhishekk
Copy link
Author

Yup, ended up doing that as well. I guess I'll leave this open for now in case the authors have a better solution to this.

@FCrSTATS
Copy link

I just changed xrange to range in the general_tracker.py file and it seemed to work in python, but maybe it impacted the results. Would this fix provide clean results?

@jpbranson
Copy link

@FCrSTATS It would make sense to provide the same results. We could try running it on the same clip to test?

@neeek2303
Copy link

@sharmaabhishekk hi! Could you please share your code with PoseFlow part?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants