Update app.py
Browse files
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 |
-
|
|
|
|
| 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 |
|