Skip to content

[Q&A] Need help debugging this error: 'ValueError: Class nvflare.app_common.widgets.validation_json_generator.ValidationJsonGenerator has parameters error: TypeError: ValidationJsonGenerator.__init__() got an unexpected keyword argument 'num_rounds' #2599

Closed Answered by YuanTingHsieh
aayush-kapoor asked this question in Q&A
Discussion options

You must be logged in to vote

@aayush-kapoor Thanks for the question.
I see you are using our JOB CLI with your own "sag_custom" template.

The error message there means that, you try to pass the "num_rounds" to the component "ValidationJsonGenerator".
Seeing from your command, you are using components[4].args.num_rounds=$num_rounds
I think you pass the "num_rounds" to an incorrect component.

If you want, you can share your "sag_custom" template and we can check which one is the right component that you want to pass num_rounds to

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YuanTingHsieh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants