Open guancheng817 opened 4 years ago
When I use SLOWFAST_32x2_R50.yaml, it needs about 6700MB gpu memory while I3D_32x2_R50.yaml could be out of memory.
I wonder if you have solved the gpu issue and able to run SLOWFAST. I encountered the following runtime error when I tested SLOWFAST on ava data set. "RuntimeError: CUDA out of memory. Tried to allocate 80.00 MiB (GPU 0; 7.76 GiB total capacity; 6.90 GiB already allocated; 26.12 MiB free; 5.63 Mi B cached)"
If you have solved the issue, maybe I can get your help. Thanks!
have you tried this before model.eval()? may reduce memory cost for test. for p in model.parameters(): p.requires_grad = False
I wonder if you have solved the gpu issue and able to run SLOWFAST. I encountered the following runtime error when I tested SLOWFAST on ava data set. "RuntimeError: CUDA out of memory. Tried to allocate 80.00 MiB (GPU 0; 7.76 GiB total capacity; 6.90 GiB already allocated; 26.12 MiB free; 5.63 Mi B cached)"
If you have solved the issue, maybe I can get your help. Thanks!
maybe you could set a smaller train.bath_size
Hi, thanks for your SlowFast codebase. I use the slowfast network and I3D network for ava pipeline, but I found that the I3D network with less parmeters need more gpu memory than slowfast network and other config are the same.Here are my SLOWFAST_32x2_R50.yaml and I3D_32x2_R50.yaml