luoyetx / face-alignment-at-3000fps

C++ implementation of Face Alignment at 3000 FPS via Regressing Local Binary Features
BSD 3-Clause "New" or "Revised" License
197 stars 120 forks source link

out of Memory #20

Open zhanglaplace opened 6 years ago

zhanglaplace commented 6 years ago

Hi, i successed in training the model using 300w which contain about 4k images.

but when i do data-argument(including rotation and offset faceRect),the images from 4K to 100k.

and when training again,it occur a error ,i find in function parseTxt(), the cpu available from 28G to 1G

after loading about 18k images.

how can i solve the problem about cpu memory.

Thanks

luoyetx commented 6 years ago

try to reduce the training face size to save memory

zhanglaplace commented 6 years ago

@luoyetx thanks. i will have a try.