Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'plyutils' #57

Open
cuixin1992 opened this issue Jan 6, 2022 · 2 comments
Open

ImportError: cannot import name 'plyutils' #57

cuixin1992 opened this issue Jan 6, 2022 · 2 comments

Comments

@cuixin1992
Copy link

Hi, thank you for your great work. But I got a problem when I run your code. Could you help me with it? Thank you very much.

I run the code using the following order.
python sample_FLAME.py --option sample_FLAME --model_fname './models/generic_model.pkl' --num_samples 5 --out_path './FLAME_samples' --visualize False

I got the following error.
2022-01-06 21:05:24.843794: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_100.dll
Traceback (most recent call last):
File "sample_FLAME.py", line 114, in
main(args)
File "sample_FLAME.py", line 101, in main
sample_FLAME(args.model_fname, int(args.num_samples), args.out_path, str2bool(args.visualize), sample_VOCA_template=False)
File "sample_FLAME.py", line 92, in sample_FLAME
sample_mesh.write_ply(out_fname)
File "D:\CUIXIN\01_HumanModelTemplate\TF_FLAME-master\psbody\mesh\mesh.py", line 476, in write_ply
serialization.write_ply(self, filename, flip_faces, ascii, little_endian, comments)
File "D:\CUIXIN\01_HumanModelTemplate\TF_FLAME-master\psbody\mesh\serialization\serialization.py", line 214, in write_ply
from psbody.mesh.serialization import plyutils
ImportError: cannot import name 'plyutils'

@pfeducode
Copy link

do you solve this problem?

@arintharoza
Copy link

Same problem here. Any help please? It seems that there is no plyutils.py file in the serialization directory!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants