j96w / DenseFusion

"DenseFusion: 6D Object Pose Estimation by Iterative Dense Fusion" code repository
https://sites.google.com/view/densefusion
MIT License
1.08k stars 301 forks source link

torch.utils.ffi is deprecated #225

Open zahid990170 opened 4 months ago

zahid990170 commented 4 months ago

I have download DenseFusion code based on pytorch-1.0. I have the following package versions: Pytorch: 1.6.0 cude: 10.1

When I run ./experiments/scripts/train_linemod.py

I receive the following error: ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

some people suggested compiling the lib/knn using python setup.py install. Although, in my downloaded repository, I do not find any setup.py file.

Please, can somebody inform how to build and run this code.