facebookresearch / AnimatedDrawings

Code to accompany "A Method for Animating Children's Drawings of the Human Figure"
MIT License
10.62k stars 934 forks source link

Selecting the Correct YAML File for Wave_Hello.bvh #267

Closed donguk071 closed 9 months ago

donguk071 commented 9 months ago

Hi, your project is really impressive! But I have some questions. I want to run wave_hello.bvh and create gif with custom data. I tried using fair1_ppf.yaml and fair_spf.yaml config files for retargeting animation, but I couldn't get the result I expected. I wonder which yaml file I have to use for the retarget_cfg option to run wave_hello.bvh.

Thanks.

hjessmith commented 9 months ago

Hi @donguk071

Two questions for you. First, did you get an animation out of the tool? And second, how did the result differ from what you were expecting? It would be helpful if you uploaded the resulting animation and the character's joint overlay visualization.

donguk071 commented 9 months ago

Thanks for reply

I used given animation and character in your repository

I followed your read.me instruction with this setting

sample.yaml

    scene:
      ANIMATED_CHARACTERS:
        - character_cfg: examples/characters/char2/char_cfg.yaml
          motion_cfg: examples/config/motion/wave_hello.yaml
          retarget_cfg: examples/config/retarget/fair1_ppf.yaml

    controller:
      MODE: video_render
      OUTPUT_VIDEO_PATH: ./video.gif
  from animated_drawings import render
  render.start('MyPath/AnimatedDrawings/examples/config/mvc/sample.yaml')

And this is result i got, i'm expecting more strong? wave like in your wedsite

video

thanks

hjessmith commented 9 months ago

I believe the source motion file you're using is different from the jumping and waving one used in the website, which is why the result looks different.

donguk071 commented 9 months ago

oh I got it. thanks for great project!!!