bytedance / R2Former

Official repository for R2Former: Unified Retrieval and Reranking Transformer for Place Recognition
Apache License 2.0
83 stars 6 forks source link

Latency and Memory Footprint measurements #12

Closed minhducquach closed 11 months ago

minhducquach commented 1 year ago

Thank you for your work! I would like to ask about how did you measure the latency per query and the memory footprint of the method?

szhu-bytedance commented 1 year ago

You may add time measurement using time.time(). You can use the getsizeof ("from sys import getsizeof") function to get the size of the numpy array for global/local features.

szhu-bytedance commented 11 months ago

I will close the issue if there is no further question.