Change 'fully_connected' to 'dense'

This commit is contained in:
julienChemillier 2023-02-18 12:53:38 +01:00
parent 866e2f9a16
commit 62fe4deeca
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ def recognize_mnist(image):
return {
"status": 200,
"data": {
"fully_connected": json_data_fc,
"dense": json_data_fc,
"cnn": json_data_cnn
}
}

View File

@ -208,7 +208,7 @@ function getPrediction() {
if (data["status"] != 200) {
document.getElementById("result").innerHTML = "500 Internal Server Error";
} else {
addResults(document.getElementById("result_fc"), data["data"]["fully_connected"], RES_STANDARD);
addResults(document.getElementById("result_fc"), data["data"]["dense"], RES_STANDARD);
addResults(document.getElementById("result_cnn"), data["data"]["cnn"], RES_CONV);
}
})