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

add **kwargs #259

merged 1 commit into from
Aug 14, 2024

Conversation

dkupnicki
Copy link
Collaborator

Currently run.py script for the Brats model fails, because it requires the precision to be passed as an argument and then passes all the arguments it received to a function through **vars(args), but the functions like run_pytorch_fp32 don't accept precision argument and they fail with TypeError: run_pytorch_fp32() got an unexpected keyword argument 'precision'. This works around this issue.

@dkupnicki dkupnicki merged commit 4401f4e into main Aug 14, 2024
9 checks passed
@dkupnicki dkupnicki deleted the daniel/kwargs branch August 14, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants