chamfer_distance icon indicating copy to clipboard operation
chamfer_distance copied to clipboard

Implementation of the Chamfer Distance as a module for PyTorch

Results 7 chamfer_distance issues
Sort by recently updated
recently updated
newest added

Hello, trying to use in an optimization procedure. Trying out the demo code import torch from chamfer_distance import ChamferDistance import time chamfer_dist = ChamferDistance() p1 = torch.rand([10,25,3], requires_grad=True) p2 =...

I install pytorch and chamfer_distance, but when I run the Usage, the error is ' ImportError: No module named 'cd' ', my python is 3.6 and pytorch is 1.7 .

Unfortunately I am not able to build the chamfer_distance.cuda on neither Windows 11 and Ubuntu 22.04 (same machine) when calling `cd = load(name="cv" ...)` for the first time. Both report...

module = importlib.util.module_from_spec(spec) ImportError: DLL load failed while importing cd: The specified module could not be found. After fixing many previous bugs, I get a new bug....it is quite annoying~~~is...

I found that I need to call the method in a different way, first I needed to initialize the class and only then call it, so this works: ``` dist1,...

```bash Traceback (most recent call last): File "/root/PointTransformer/train_spconv.py", line 10, in from loss import ChamferLoss File "/root/PointTransformer/loss.py", line 6, in from chamfer_distance import ChamferDistance as chamfer_dist File "/root/anaconda3/envs/pointcept/lib/python3.9/site-packages/chamfer_distance/__init__.py", line 1,...