Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Add CPU option to run frankmocap #103

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

LucaswasTaken
Copy link

This version of frankmocap add supporting files and a demo example to use only CPU during the execution.

@facebook-github-bot
Copy link

Hi @LucaswasTaken!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

Copy link
Author

@LucaswasTaken LucaswasTaken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Back to compatibilize with frankmocap master today, and add 8 files (including the CPU demo) to enable CPU support.

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 25, 2021
@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@antonioia9
Copy link

Hi, I have this error while running, can you please tell me how to solve it?

File "C:\MOCAP\frankmocap\mocap_utils\demo_utils.py", line 105, in setup_input
assert cap.isOpened(), f"Failed in opening video: {args.input_path}"
AssertionError: Failed in opening video: ./sample_data/single_totalbody.mp4

@LucaswasTaken
Copy link
Author

LucaswasTaken commented Aug 2, 2021

Hi, I have this error while running, can you please tell me how to solve it?

File "C:\MOCAP\frankmocap\mocap_utils\demo_utils.py", line 105, in setup_input
assert cap.isOpened(), f"Failed in opening video: {args.input_path}"
AssertionError: Failed in opening video: ./sample_data/single_totalbody.mp4

Seems like a error in passing the path of the video, this assert trigers exatly when the OpenCV could not open the video for some reason. I have a question: the script ir runing in the main folder? if it is not, the ./ path does not work and should be "../sample_data/single_totalbody.mp4", but to be absolute sure try the absolute path.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants