Closed orgicus closed 8 years ago
Yes it sounds like you need to save all the preprocessed faces & labels to disk, then reload them. You probably need to do it by saving each image to a PGM or PNG file using a filename scheme you come up with, and perhaps save the labels either as text or YML file, and save some info such as the number of faces and labels, etc.
Thank you very much for the suggestions. I will start implementing. I may get back in case I get stuck but so far opencv docs make sense
No worries, closing this bug for now but you can re-open it if needed.
Hi,
I am going through the "Finishing touches: Saving and loading files" part of Chapter 8. It's a very well explained and easy to follow chapter overall, however I'm a bit stuck on this part:
That is exactly what I'm trying.
I've added the .yml save/load as suggested:
I can see the model is loaded, although it has one label when I've trained two faces. The main issue is I can't easily go to training mode when restarting the program and loading the .yml model file. I would need to save the previous training session (preprocessed faces and labels) to continue.
Any tips/hints that will help implement this would be very helpful.
Thank you, George
Off topic: I could use a hand with Chapter 4 as well.