IDEA-Research / DAB-DETR

[ICLR 2022] Official implementation of the paper "DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR"
Apache License 2.0
501 stars 86 forks source link

How to calculate flops #51

Closed stnjumu closed 1 year ago

stnjumu commented 1 year ago

Hi! thanks for your excellent work, I'm wondering how to evaluate the flops of DAB-DETR model? I can't directly use the DETR script which will get AssertionError in jit_handles.py. https://github.com/facebookresearch/detr/issues/110 Could you pls share your python script?

SlongLiu commented 1 year ago

We provide a file for flops in DINO https://github.com/IDEA-Research/DINO/tree/main/tools. Hope it is helpful.

stnjumu commented 1 year ago

Thanks for your excellent work, this is very helpful.