Giter VIP home page Giter VIP logo

Comments (4)

HalfSummer11 avatar HalfSummer11 commented on July 4, 2024

Hi, did you mean transferring the style from a 2D motion described by json to a 3D content motion in bvh format?
To do so, please first make sure your json files are generated by OpenPose with options --face, --hand enabled. Below is an example:
./build/examples/openpose/openpose.bin --video [your video path] --write_json [your json path] --display 0 --render_pose 0 --face --hand

Then use the json path as the style source and run test.py.
python style_transfer/test.py --content_src [your bvh] --style_src [your json path] --output_dir [your output path]

Hope this would help.

from deep-motion-editing.

xinzi2018 avatar xinzi2018 commented on July 4, 2024

Thanks a lot! in your way, i test style_Transfer successfully!
But i have another question ,in the retarget, if i use my BVH, the retarget/demo.sh will also not success. (openpose not provide the json to bvh, so i use VideoTo3dPoseAndBvh to transfer my own mp4 to BVH,but it only 17 landmarks)

from deep-motion-editing.

PeizhuoLi avatar PeizhuoLi commented on July 4, 2024

We are planning to release more details about using your own bvh soon. More details please check #31. Thank you.

from deep-motion-editing.

Qoo861207 avatar Qoo861207 commented on July 4, 2024

Hi, did you mean transferring the style from a 2D motion described by json to a 3D content motion in bvh format? To do so, please first make sure your json files are generated by OpenPose with options --face, --hand enabled. Below is an example: ./build/examples/openpose/openpose.bin --video [your video path] --write_json [your json path] --display 0 --render_pose 0 --face --hand

Then use the json path as the style source and run test.py. python style_transfer/test.py --content_src [your bvh] --style_src [your json path] --output_dir [your output path]

Hope this would help.

Can you explain how this code works? I don't know how to code at all
Is this used on cmd or python?
I use it on cmd in your way
.python style_transfer\test.py --content_src test2.bvh --style_src D:\Newfo\openpose\examples\media\test1\test2.bvh --output_dir D:\Newfo\openpose\examples\media\test1
As a result, the following problem occurred
.python: can't open file'D:\\Newfo\\openpose\\bin\\style_transfer\\test.py': [Errno 2] No such file or directory

from deep-motion-editing.

Related Issues (20)

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.