mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 15:16:26 +01:00
Change 'fully_connected' to 'dense'
This commit is contained in:
parent
866e2f9a16
commit
62fe4deeca
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user