Keras: test, cross validation and accuracy while processing batched data with train_on_batch
- 阅读更多 关于 Keras: test, cross validation and accuracy while processing batched data with train_on_batch
问题 Can someone point me to a complete example that does all of the following? Fits batched (and pickled) data in a loop using train_on_batch() Sets aside data from each batch for validation purposes Sets aside test data for accuracy evaluation after all batches have been processed (see last line of my example below). I'm finding lots of 1 - 5 line code snippets on the internet illustrating how to call train_on_batch() or fit_generator() , but so far nothing that clearly illustrates how to