monodepth-NCNN icon indicating copy to clipboard operation
monodepth-NCNN copied to clipboard

How to train the model?

Open zhouyong1234 opened this issue 3 years ago • 0 comments

Could you tell me how to solve the problem: RuntimeError: CUDA out of memory. Tried to allocate 64.00 MiB (GPU 0; 10.76 GiB total capacity; 9.28 GiB already allocated; 31.44 MiB free; 9.58 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF Should I use the whole datasets for training or not? Looking forward to your reply, thanks!

zhouyong1234 avatar Dec 20 '21 08:12 zhouyong1234