yunik1004 / SAiD

SAiD: Blendshape-based Audio-Driven Speech Animation with Diffusion
https://yunik1004.github.io/SAiD/
Apache License 2.0
89 stars 17 forks source link

Why would an error be reported when I run the project following the step #6

Open ferryman123 opened 6 months ago

ferryman123 commented 6 months ago

And then, run the following command:

python script/optimize_blendshape_coeffs.py \ --blendshapes_coeffs_out_dir ""

ImportError: cannot import name 'metric' from partially initialized module 'said' (most likely due to a circular import) (C:\Users\22355.conda\envs\SAiD\lib\site-packages\said__init__.py)

xxxukk commented 6 months ago

I met the same problem, how did you solve it at last?

ferryman123 commented 6 months ago

I met the same problem, how did you solve it at last?

I copied the packages needed for the file to be executed into this file by refactoring the code. It's a little complicated, but it works.