This repository has been archived on 2025-12-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2025ML-project-neural_compr.../benchmark.py

12 lines
No EOL
365 B
Python

from main import main
from src.utils.benchmark import execute_benchmark
from src.utils.benchmark_dataclasses import BenchmarkItem
def benchmark():
# Just calling `main` is the easiest way to allow all functionality
execute_benchmark(benchmark_item=BenchmarkItem(task=main, arguments={}), results_dir="results")
if __name__ == "__main__":
benchmark()