changlin31 / BossNAS

(ICCV 2021) BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search
137 stars 20 forks source link

How you calculate the MACs? #6

Closed ranery closed 3 years ago

ranery commented 3 years ago

Hi,

I have another question about MACs. Could you elaborate on how you calculate that? Thanks.

Best

ranery commented 3 years ago

Hi, have you noticed this question? Current, my measurement about Bossnet-T0 is consistent with your reported 3.4G MACs, while my measurement about Bossnet-T1 is 7.62G, slightly less than your reported 7.9G MACs.

I want to confirm with you about the MACs measurement details if it is convenient for you.

changlin31 commented 3 years ago

Hi, sorry for the delay. I just uploaded the MAdds calculation file: https://github.com/changlin31/BossNAS/blob/2e6ff17737b8546dcc06b4bfb3c690f6e1290767/retraining_hytra/boss_madds.py

ranery commented 3 years ago

Thanks!