postech-ami / CLIP-Actor

[ECCV'22] Official PyTorch Implementation of "CLIP-Actor: Text-Driven Recommendation and Stylization for Animating Human Meshes"
https://clip-actor.github.io
MIT License
108 stars 5 forks source link

ImportError: cannot import name '_C' from 'kaolin' #1

Closed psx2 closed 2 years ago

psx2 commented 2 years ago

Hi there,

I have followed the instructions exactly as provided, and when testing the example prompt you provided, I am greeted with this:

519

Any thoughts?

psx2 commented 2 years ago

I've also tried your instructions on a fresh AWS Linux server, and was unable to run. Can you please confirm that everything is correct, and you have tested?

Youwang-Kim commented 2 years ago

I have tested before and again about the environment setting and I got everything working.

Your error seems like the library (kaolin) are not installed properly. Can you check your kaolin's installation log? I suspect it failed during installation. Please check your pytorch version, which is critical for the kaolin's operation.

Or maybe you can install kaolin v0.9.1 manually (not from pip install -r requirements.txt) You may want to check this issue.

If all above are not working, can you please check your system's configuration? This code was developed on Ubuntu 18.04 with Python 3.7, CUDA 10.2 and PyTorch 1.9.0.

Please let me know if you have further problems 🙏

Caenorst commented 2 years ago

Hi there, we do not recommend to pip install Kaolin as it may not work on some systems (typically windows). As @Youwang-Kim recommended please try to install from source.