AllenXiangX / SnowflakeNet

(TPAMI 2023) Snowflake Point Deconvolution for Point Cloud Completion and Generation with Skip-Transformer
MIT License
155 stars 17 forks source link

Code for L2 Chamfer distance #15

Open ShenZheng2000 opened 2 years ago

ShenZheng2000 commented 2 years ago

Hello, authors! I would like to know how you obtained the L2 Chamfer distance in Table 2 of your paper. After executing your code on the c3d dataset, I obtained the following outcome, which seems to be the L1 Chamfer distance.

============================ TEST RESULTS ============================
Taxonomy        #Sample ChamferDistance
02691156        100     0.2252
02933112        100     1.2307
02958343        100     0.6126
03001627        100     1.0656
03636649        100     1.1419
04256520        100     0.8829
04379243        100     1.2952
04530566        100     0.5210
Overall                 0.8719

Epoch  -1       2.8626  1.6381  1.1422  0.8719  0.0540
ky-zhou commented 1 month ago

From my understanding, the pytorch CD is actually both L2-norm, but one is L2-squared-root. However in the convention of point cloud papers, some authors refer to L1-norm as 'without sqrt()'.