5
$\begingroup$

Am kind of new to deep learning. I have however trained a number of face images and achieved relatively good recognition rate. Now my question is if my client will be taking a few more pictures daily or weekly, how will that be integrated. Or will they have to train again, is there any fast way of adding training data to a pre-trained net?

$\endgroup$
1
  • $\begingroup$ Are the new faces from new classes? If so this is a transfer learning problem. $\endgroup$ Commented Jun 15, 2017 at 6:07

2 Answers 2

2
$\begingroup$

Although it depends on the library you use, in TensorFlow you can import weights for an existing model and continue training on new (or existing) data. TensorFlow calls this "checkpointing" and I believe it was primarily intended for cases where your model would take too long to train in a single session and you need to pause and resume training later. What you're trying to do is very similar; the only difference is that your data will contain a few more records than before. Reading your new/bigger data set is as simple as just pointing to a different CSV file.

Here is a good example on Stack Overflow of TensorFlow checkpointing: https://stackoverflow.com/questions/33759623/tensorflow-how-to-restore-a-previously-saved-model-python

$\endgroup$
0
2
$\begingroup$

Step 1: Save the weights

(New data comes in)

Step 2: Make a new dataset (E.g. add new data to the existing dataset or create a completely new)

Step 3: Initialize your model to weights you previously saved

Step 4: Proceed to train on the new dataset (Save the weights after)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.