yul85 / movingcam

233 stars 37 forks source link

speed issue ! #9

Closed kotaxyz closed 10 months ago

kotaxyz commented 10 months ago

thanks alot for this awesome work , i just want to ask why this step using get_bvh_from_vibe_limited_v2.py is slow also its not utilizing my cpu or gpu power it just uses arround 7 % of cpu and its slow , how can i increase the speed

Screenshot (59)

yul85 commented 10 months ago

Yeah, it's a bit slow because it solve IK and render the resulting pose every frame. You might try to implement the code without rendering for speed up.

kotaxyz commented 10 months ago

@yul85 thanks alot for your reply , also i have a problem it dosnt output anything after it finishes it only shows the motion in the dart viewer , im not an expert but i checked the code i havn't found the issue
i'm talking about this step Run "ik/get_bvh_from_vibe_limited_v2.py" to get the IK result ([motion_name].skmo) from step 3.

yul85 commented 10 months ago

If your video_name is "dance", You can find the file named "dance_vibe_dof_limit_v2.skmo" in the directory "data/vibe/dance/".

kotaxyz commented 10 months ago

@yul85 its still missing , i searched for it on everyplace but havnt found it Screenshot (60)

kotaxyz commented 10 months ago

i added print lines but it dosnt even execute them

https://github.com/yul85/movingcam/assets/105466290/14902d61-45fb-44ba-9560-1fffe854557c

yul85 commented 10 months ago

Comment out 6 lines below Fl.run() and try it again.

kotaxyz commented 10 months ago

it worked thanks my friend !