Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training with 10K images #58

Open
eloi-loomai opened this issue Sep 17, 2018 · 1 comment
Open

Training with 10K images #58

eloi-loomai opened this issue Sep 17, 2018 · 1 comment

Comments

@eloi-loomai
Copy link

Hi Patrick,

I'd like to know if you think that the supervised descent method can be trained with 10000 images + landmarks?

Do you have any advise to do so?

Thanks!

@patrikhuber
Copy link
Owner

patrikhuber commented Sep 18, 2018

Hi,

Yes definitely, you shouldn't have any problems. I've trained it with around 3-5k images or so with 5-10x augmentation if I recall correctly, which would make around 15-50k training items or so. You will probably just need enough RAM (32 or 64 GB or something like that). And make sure to compile in release mode and with OpenMP enabled (I think the CMake script does it for the demo training app). (See also here for Eigen's solvers and which ones support parallelisation. IIRC superviseddescent uses PartialPivLU by default so you should be fine).
I think it might be possible to go even higher with the number of training images, but maybe there's a point where you'd have to use an iterative solver, but that could be incorporated easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants