Spaces:
Sleeping
Sleeping
fracapuano
commited on
Commit
•
47fd305
1
Parent(s):
42a0c69
fix: minor
Browse files
app.py
CHANGED
@@ -229,7 +229,7 @@ def main():
|
|
229 |
f"""
|
230 |
<h4>NebulOS Search Process: Outcome</h4>
|
231 |
<p>
|
232 |
-
This search took ~{results[-1]*TIME_TO_SCORE_EACH_ARCHITECTURE} seconds (scoring {results[-1]} architectures using ~{TIME_TO_SCORE_EACH_ARCHITECTURE} seconds each)
|
233 |
</p>
|
234 |
The architecture found for <b>{device_mapping_dict[device]}</b> is: <b>{searchspace_interface[arch_idx]["architecture_string"]}</b><br>
|
235 |
The optimal (hardware-agnostic) architecture in the searchspace is <b>{best_architecture_string}</b>
|
@@ -242,7 +242,7 @@ def main():
|
|
242 |
# Sample data - replace these with your actual ratio values
|
243 |
data = {
|
244 |
"Metric": ["FLOPS", "Number of Parameters", "Validation Accuracy", "Energy Consumption", "Latency"],
|
245 |
-
"NebulOS vs. Hardware Agnostic Network": ["{:.
|
246 |
}
|
247 |
|
248 |
col1, _, col2 = st.columns([2,1,2])
|
|
|
229 |
f"""
|
230 |
<h4>NebulOS Search Process: Outcome</h4>
|
231 |
<p>
|
232 |
+
This search took ~{round(results[-1]*TIME_TO_SCORE_EACH_ARCHITECTURE, 2)} seconds (scoring {results[-1]} architectures using ~{TIME_TO_SCORE_EACH_ARCHITECTURE} seconds each)
|
233 |
</p>
|
234 |
The architecture found for <b>{device_mapping_dict[device]}</b> is: <b>{searchspace_interface[arch_idx]["architecture_string"]}</b><br>
|
235 |
The optimal (hardware-agnostic) architecture in the searchspace is <b>{best_architecture_string}</b>
|
|
|
242 |
# Sample data - replace these with your actual ratio values
|
243 |
data = {
|
244 |
"Metric": ["FLOPS", "Number of Parameters", "Validation Accuracy", "Energy Consumption", "Latency"],
|
245 |
+
"NebulOS vs. Hardware Agnostic Network": ["{:.4g}%".format(100*val) for val in row_to_plot]
|
246 |
}
|
247 |
|
248 |
col1, _, col2 = st.columns([2,1,2])
|