yoxu515 / aot-benchmark

An efficient modular implementation of Associating Objects with Transformers for Video Object Segmentation in PyTorch
BSD 3-Clause "New" or "Revised" License
600 stars 108 forks source link

Evaluator Memory #74

Open bhack opened 9 months ago

bhack commented 9 months ago

The append approach is going to require a lot of memory: https://github.com/yoxu515/aot-benchmark/blob/04fe7d9faa4fe3f46ed7404cb78eb8a753621619/networks/managers/evaluator.py#L402

Also bypassing this and materialising each prediction in the else branch for each step the PAOT branch it is really consuming a lot of memory. Any hint on why it has a so large overhead if we compare with the main branch also when limiting the max long term mem?