Skip to content

add **kwargs #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions computer_vision/semantic_segmentation/unet_3d/brats_19/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ def run_single_pass(tf_runner, brats):
return run_model(run_single_pass, runner, dataset, 1, num_runs, timeout)


def run_tf_fp32(model_path, num_runs, timeout, dataset_path):
def run_tf_fp32(model_path, num_runs, timeout, dataset_path, **kwargs):
return run_tf_fp(model_path, num_runs, timeout, dataset_path)


def run_tf_fp16(model_path, num_runs, timeout, dataset_path):
def run_tf_fp16(model_path, num_runs, timeout, dataset_path, **kwargs):
return run_tf_fp(model_path, num_runs, timeout, dataset_path)


def run_pytorch_fp32(model_path, num_runs, timeout, dataset_path):
def run_pytorch_fp32(model_path, num_runs, timeout, dataset_path, **kwargs):
import torch
import numpy as np
from utils.cv.brats import BraTS19
Expand Down