Skip to content

Commit

Permalink
update model and calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
mzakharo committed Apr 12, 2023
1 parent f834d8a commit 7b19fef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions micro.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "micropython/tfmicro/model_fc.h"
#include <stdio.h>

const int tensor_arena_size = 3200;
const int tensor_arena_size = 5000;
uint8_t tensor_arena[tensor_arena_size];

int main() {
Expand All @@ -31,8 +31,8 @@ int main() {
printf("input mismatch\n");
return 1;
}
model_input->data.f[0] = 666.0;
model_input->data.f[1] = 7.6;
model_input->data.f[0] = 640.0;
model_input->data.f[1] = 7.76;

TfLiteStatus invoke_status = interpreter.Invoke();
if (invoke_status != kTfLiteOk) {
Expand Down
2 changes: 1 addition & 1 deletion micropython

0 comments on commit 7b19fef

Please sign in to comment.