diff options
Diffstat (limited to 'scripts/benchmark')
-rw-r--r-- | scripts/benchmark/benchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/benchmark/benchmark.py b/scripts/benchmark/benchmark.py index a5f216c6..3239d385 100644 --- a/scripts/benchmark/benchmark.py +++ b/scripts/benchmark/benchmark.py @@ -120,7 +120,7 @@ def benchmark_single(benchmark, platform, device, num_runs, precision, load_from # Stores the results to disk print("[benchmark] Saving benchmark results to '" + json_file_name + "'") - with open(json_file_name, "wb") as f: + with open(json_file_name, "w") as f: json.dump(results, f, sort_keys=True, indent=4) # Retrieves the data from the benchmark settings |