PCN-PyTorch icon indicating copy to clipboard operation
PCN-PyTorch copied to clipboard

Colab run PCN-Pytorch

Open kafei123456 opened this issue 2 years ago • 2 comments

colab:CUDA-10.1 ,pytorch1.7, python3.7 the trackback: Traceback (most recent call last): File "train.py", line 14, in from metrics.metric import l1_cd File "/content/drive/MyDrive/PCN-PyTorch/metrics/metric.py", line 5, in from extensions.earth_movers_distance.emd import EarthMoverDistance File "/content/drive/MyDrive/PCN-PyTorch/extensions/earth_movers_distance/emd.py", line 3, in import emd_cuda ModuleNotFoundError: No module named 'emd_cuda'

I don't know the problom, when run PCN-pytorch in colab.and I have compiled the "earth_movers_distance" core.

Are there any solutions?

kafei123456 avatar May 09 '22 02:05 kafei123456

I think you haven't complied for emd and cd, refer this for colab: %cd extensions/chamfer_distance !python setup.py install %cd ../earth_movers_distance !python setup.py install

hiepbk avatar Aug 08 '22 07:08 hiepbk

Think you for your valuable advices.

kafei123456 avatar Aug 08 '22 07:08 kafei123456