Get Benchmark Task
-
get_benchmark_task
(self, benchmark_task: Union[str, netspresso.launcher.schemas.model.BenchmarkTask]) → netspresso.launcher.schemas.model.BenchmarkTask Get the benchmark task information with given benchmark task or benchmark task uuid.
- Parameters
benchmark_task (BenchmarkTask | str) – Launcher Benchmark Object or the uuid of the benchmark task.
- Raises
e – If an error occurs while getting the benchmark task information.
- Returns
model benchmark task object.
- Return type
BenchmarkTask
Example
from netspresso.launcher import ModelBenchmarker
benchmarker = ModelBenchmarker(email="YOUR_EMAIL", password="YOUR_PASSWORD")
benchmark_task = benchmarker.get_benchmark_task(benchmark_task="YOUR_BEBCHMARK_TASK")