guibo-tech / BIMAP-NeRF-Endoscopy-3DReconstruction

Neural Radiance Fields for 3D Reconstruction in Monoscopic Laryngeal Endoscopy. Implemented for ISBI 2024.
Apache License 2.0
0 stars 0 forks source link

Update torchsearchsorted package #7

Open guibo-tech opened 1 year ago

guibo-tech commented 1 year ago

This code is deprecated.

It is using outdated numpy and torch syntax, maybe something else. Replace all dtype=np.long to dtype=np.int64 Replace all dtype=torch.long to dtype=torch.int64

out = np.empty_like(v, dtype=np.long) out = torch.empty(result_shape, device=v.device, dtype=torch.long)