/** | |
* @desc evaluates the model | |
*/ | |
async function evaluateModelFunction(model, inputs, outputs) | |
{ | |
const result = await model.evaluate(inputs, outputs, {batchSize: 64}); | |
console.log('Accuracy is:') | |
result[1].print(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment