Matrix-ASC / DeLA

Official PyTorch implementation of DeLA
MIT License
41 stars 5 forks source link

Difference between codes and the paper. #7

Closed YangParky closed 11 months ago

YangParky commented 11 months ago

Hi, Thanks for your excellent work. The reported number of layers does not appear to be the same as the number of layers in the paper. In your paper, depths are [2 2 2], however, in codes, depths become [4 4 4]. image image

binjiechen commented 11 months ago

Hi, they are actually the same, despite of different appearance. In the paper, 2 LFPs and 1 MLP is seen as a unit (Fig 1). So depth n equals 2n LFPs and n MLP. In the code, depth n equals n LFPs and n/2 MLPs. You can check out the Block class (line 68 of delacls.py of ModelNet40).

YangParky commented 11 months ago

Hi, they are actually the same, despite of different appearance. In the paper, 2 LFPs and 1 MLP is seen as a unit (Fig 1). So depth n equals 2n LFPs and n MLP. In the code, depth n equals n LFPs and n/2 MLPs. You can check out the Block class (line 68 of delacls.py of ModelNet40).

Thanks for your patient reply~