C3D
C3D copied to clipboard
Segmentation fault due to higher batch size
Hello,
For creating the snapshot (through solver.prototxt), I need to provide batch size more than 10,000 in numbers inside c3d_sport1m_feature_extractor_frm.prototxt but this is giving segmentation fault error in the output. Why this is happening and what is the possible solution?
I don't really understand the issue here. If it run out of memory, you can just simple reduce the batch-size. Also 10,000 is a very large batch size.
OK I followed your advice and reduced the batch size number for creating the snapshot. Now, I move on to extract the features. 2 arguments as mentioned in the C3D user guide while extracting features are
Really not getting how to tackle with
2 arguments as mentioned in the C3D user guide while extracting features are mini batch size and number of mini batches.
Also, I observed that if mini batch size is decreased and number of mini batches are increased
Really not getting how to tackle with mini batch size and number of mini batches.
Sorry I copied directly from C3D user guide that is why I think these two argument names did not appear.
@rohitqut you have to decide batch size according to you GPU memory size,,,as @dutran mentioned in the instruction... if you have 6GB GPU: use batch_size of ~30. 12GB: ~50. Adjust for your GPU memory.
@sainisanjay thanks for helping!