megvii-research / megactor

Apache License 2.0
584 stars 79 forks source link

inference issue #10

Closed skunkwerk closed 2 weeks ago

skunkwerk commented 2 weeks ago

Hi,

I'm having an issue running inference. Any ideas why this would happen?

File "/run/megactor/eval.py", line 142, in eval pixel_values_pose = crop_move_face(control, all_face_rects, target_size=size) File "/run/megactor/animate/utils/util.py", line 418, in crop_move_face for j, ids in enumerate(faces['image_ids']): TypeError: list indices must be integers or slices, not str

https://github.com/megvii-research/megactor/blob/main/animate/utils/util.py#L418

thanks!

EvePhil commented 2 weeks ago

We uploaded a wrong eval.py that needed some fixing, already resolved. Thx for the report!