Skip to content

Commit 58a094a

Browse files
committed
Benchmark pytorch: rename method
1 parent a00af6c commit 58a094a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dlclive/benchmark_pytorch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_system_info() -> dict:
8282
}
8383

8484

85-
def analyze_video(
85+
def benchmark(
8686
video_path: str,
8787
model_path: str,
8888
model_type: str,
@@ -447,7 +447,7 @@ def main():
447447
args = parser.parse_args()
448448

449449
# Call the analyze_video function with the parsed arguments
450-
analyze_video(
450+
benchmark(
451451
video_path=args.video_path,
452452
model_path=args.model_path,
453453
model_type=args.model_type,

0 commit comments

Comments
 (0)