muelea / shapy

CVPR 2022 - Official code repository for the paper: Accurate 3D Body Shape Regression using Metric and Semantic Attributes.
https://shapy.is.tue.mpg.de/
295 stars 44 forks source link

ModuleNotFoundError: No module named 'mesh_mesh_intersect_cuda' #20

Open ijorquera opened 1 year ago

ijorquera commented 1 year ago

Hello, I am having some problems with the module mesh_mesh_instersect_cuda when trying to use the shape to attributes and attributes to shape modules, it says it is not found, but I make sure that the module mesh_mesh_intersect (including torch-mesh-isect) were installed correctly (at least no error found in the log after running the setup.py)

Any help would be greatly appreciated, thanks!

muelea commented 1 year ago

Hi, I reinstalled the repo from scratch, but didn't get this error when running the example commands, including the demo.py for attributes. Can you please explain when this happens so that I can reproduce it?

owais3901 commented 1 year ago

@muelea Hi, run the virtual_measurement file and in the mesh_mesh_intersection file you'll face this error.

owais3901 commented 1 year ago

@muelea can you share the mesh_mesh_intersect_cuda.py file?

muelea commented 1 year ago

The mesh_mesh_intersect_cuda is built as an extension of mesh_mesh_ when running setup.py in mesh-mesh-intersection. To import mesh_mesh_intersection before importing mesh_mesh_intersect_cuda:

import mesh_mesh_intersection
import mesh_mesh_intersect_cuda