Skip to content

Commit

Permalink
use avg resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu-Zhewen committed Jan 7, 2024
1 parent b253d40 commit a2c0218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimiser_interface/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def process_opt_report(output_dir):
report = json.load(f)
throughput = report["network"]["performance"]["throughput (FPS)"]
latency = report["network"]["performance"]["latency (s)"]
resources = report["network"]["max_resource_usage"]
resources = report["network"]["avg_resource_usage"]
return throughput, latency, resources

def opt_cli_launcher(model_name, onnx_path, output_dir,
Expand Down

0 comments on commit a2c0218

Please sign in to comment.