out of memory error

3 次查看(过去 30 天)
tara saber
tara saber 2022-2-16
评论: tara saber 2022-2-17
hello dears ? i am trying to use Faster R-CNN which used a resnet50 as a pretrained model and has a network input size [224 224 3] however my video frames has a high resolution 1900 * 1800 when I am using the model Object Detection Using Faster R-CNN Deep Learning - MATLAB & Simulink (mathworks.com) which reduced video frame size after preprocessing to 224 * 224 , I didnt get good detector after traning , even in some videos it dosnt recognize anything then I tried training without reszing to 224* 224 i got out of memory however i had GPU of 8 GB .so what are your advice to do with high reolsution videos to get good detectors ????

回答(1 个)

yanqi liu
yanqi liu 2022-2-17
yes,sir,may be set the MiniBatchSize=1 before train
  1 个评论
tara saber
tara saber 2022-2-17
Dear sir i changed minibatchsize to 1 also i got same error. My video frames has a high resolution when i reduced to 224×224 as pretrained resnet50 it is dector has very less accuarcy and cant recognize anything what is your suggestion please help ....? Thanks dear yanqi liu

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by