PeiqinZhuang / API-Net

Learning Attentive Pairwise Interaction for Fine-Grained Classification, AAAI-2020
125 stars 31 forks source link

How much GPU memory do you need? #4

Closed amusingchao closed 3 years ago

amusingchao commented 3 years ago

If you use class size 30.sample images 4. The batch number is 120. It is so big.

PeiqinZhuang commented 3 years ago

You are right. On one hand, it is inconvenient to sample a number of samplers when you have a few GPUs. On the other hand, it is essential to adopt this strategy when you want to enrich the sample diversity in one batch. Alternatively, you can choose to reduce the input resolution or the number of samples within the same class. I think it may alleviate the situation. We have conducted ablation studies on how to select class size & image size in our paper. Please refer to it.