starVisionTeam / SeIF

SeIF: Semantic-constrained Deep Implicit Function for Single-image 3D Head Reconstruction
40 stars 4 forks source link

Could you provide requirements.txt? #2

Open Zvyozdo4ka opened 9 months ago

Zvyozdo4ka commented 9 months ago

Great Project.

As it is mentioned above, could you provide with project requirements please or any other guidance for installation ?

Zvyozdo4ka commented 9 months ago

I just installed one by one, seeing errors after running main.py

lxzlwhy commented 9 months ago

Ok, I will write an installation package description

Megidd commented 6 months ago

For us, installing these was enough:

pip install numpy
pip install torch torchvision
pip install scikit-image
pip install opencv-python
pip install pymeshlab

After that, we had to replace the deprecated np.bool statement at SeIF/lib/sdf.py file with a simple bool. To do so, these commands can be used:

cat lib/sdf.py | grep "np.bool"
sed -i 's/np\.bool/bool/g' lib/sdf.py
cat lib/sdf.py | grep "np.bool"