DINO
DINO copied to clipboard
Does this project require a lot of RAM and video memory resources?
Does this project require a lot of RAM and video memory resources? I'm using 11GB video memory, batch_size=2, and I get an error: CUDA out of memory. It only works when I set batch_size to 1. In addition, I trained with 3 gpus simultaneously, batch_size = 1, RAM of 32G, and after two epochs of training, the program was still killed by the system due to lack of RAM
The Transformer arch is GPU-mem cost. You may need GPUs with more memory. For the RAM, it seems like 32GB is not enough. One way to alleviate this is to use small input images. We use max=1333 by default.
Ok, thank you for your reply
Could you please tell me how much memory this project needs to run at most?
Around 15G mem is enough for batchsize 2.
Sorry, I meant RAM
I also have this problem at present, it seems that 32G is only enough for the model to run three epochs. What is the minimum RAM required?
I also have this problem at present, it seems that 32G is only enough for the model to run three epochs. What is the minimum RAM required?
I don't know if this useful, but maybe for reference Optimizing Resource for training DINO