tijiang13 / InstantAvatar

InstantAvatar: Learning Avatars from Monocular Video in 60 Seconds (CVPR 2023)
365 stars 31 forks source link

Error about openpose on preprocessing custom data #63

Closed hrx20000209 closed 7 months ago

hrx20000209 commented 9 months ago

Firstly thank you a lot for your work and code. I was trying to preprocess my own data, and I have installed openpose. But it seems that the openpose did not detect any people. The json files are all like this: image How to solve this problem? Thank you very much once again.

tijiang13 commented 9 months ago

Hi,

That's quite weird to me, because OpenPose should be generally quite stable. Can you post a sample image of your data here?

Best, Tianjian

hrx20000209 commented 9 months ago

Hi,

That's quite weird to me, because OpenPose should be generally quite stable. Can you post a sample image of your data here?

Best, Tianjian

Ok, thank you.

Here's one image of my data.

image
tijiang13 commented 9 months ago

I think the resolution might be a bit high for Openpose. Maybe it will help to downscale the image by 2 or 4.

Best, Tianjian

hrx20000209 commented 9 months ago

I think the resolution might be a bit high for Openpose. Maybe it will help to downscale the image by 2 or 4.

Best, Tianjian

Thank you for your reply.

I try to rescale the resolution of the frames to 960x540, but the error still occurs.

截屏2023-12-20 11 25 38
w1049 commented 9 months ago

I had the same problem today. Check if the size of openpose/models/hand/pose_iter_102000.caffemodel is 0 B. (from here)

And you can download models from here.