Problem:
When the resultAnalysis function is called with the prediction_samples argument, it crashes.
A solution is to also set the batch_size argument to a value smaller than the value of the prediction_samples argument. However, changing the batch_size in the range 0 < batch_size <= prediction_samples also alters the result of the analysis.
Code examples:
model.resultAnalysis(dataset='data_test', name='Model', prediction_samples=100) This crashes.
model.resultAnalysis(dataset='data_test', name='Model', batch_size=128, prediction_samples=100) This crashes.
model.resultAnalysis(dataset='data_test', name='Model', batch_size=100, prediction_samples=100) This gives some analysis results.
model.resultAnalysis(dataset='data_test', name='Model', batch_size=10, prediction_samples=100) This gives different analysis results.
The dataset used has 60000 samples.
Problem:
When the resultAnalysis function is called with the prediction_samples argument, it crashes.
A solution is to also set the batch_size argument to a value smaller than the value of the prediction_samples argument. However, changing the batch_size in the range 0 < batch_size <= prediction_samples also alters the result of the analysis.
Code examples:
model.resultAnalysis(dataset='data_test', name='Model', prediction_samples=100)This crashes.model.resultAnalysis(dataset='data_test', name='Model', batch_size=128, prediction_samples=100)This crashes.model.resultAnalysis(dataset='data_test', name='Model', batch_size=100, prediction_samples=100)This gives some analysis results.model.resultAnalysis(dataset='data_test', name='Model', batch_size=10, prediction_samples=100)This gives different analysis results.The dataset used has 60000 samples.