dgarrett-synaptics commited on
Commit
f2626c4
·
verified ·
1 Parent(s): 0873a3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -62,10 +62,14 @@ def compile_model(model_name, vmem_value, lpmem_value):
62
  weights_size = results['weights_size'] / 1000.0
63
  arena_size = results['arena_cache_size'] / 1000.0
64
  clock = results['core_clock'] / 1.0e6
 
 
65
 
66
  output_text += f'<br>clock = {clock:0.1f} MHz'
67
- output_text += f'<br>Model size = {weights_size:0.3f} kB'
 
68
  output_text += f'<br>Arena cache size = {arena_size:0.3f} kB'
 
69
  output_text += f'<br>model loc = {results["model_loc"]}'
70
  output_text += f'<br>System config = {results["system_config"]}'
71
 
 
62
  weights_size = results['weights_size'] / 1000.0
63
  arena_size = results['arena_cache_size'] / 1000.0
64
  clock = results['core_clock'] / 1.0e6
65
+ infer_time = results['inference_time'] * 1000.0
66
+ infer_fps = results['inferences_per_sec']
67
 
68
  output_text += f'<br>clock = {clock:0.1f} MHz'
69
+
70
+ output_text += f'<br>inference time = {infer_time:0.1f}ms - {infer_fps:0.1f} fps'
71
  output_text += f'<br>Arena cache size = {arena_size:0.3f} kB'
72
+ output_text += f'<br>Model size = {weights_size:0.3f} kB'
73
  output_text += f'<br>model loc = {results["model_loc"]}'
74
  output_text += f'<br>System config = {results["system_config"]}'
75