Skip to content

Fix 5-tuple unpacking error in EvalServicer.Interact() - #540

Open
saurabh-net wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
saurabh-net:fix-interact-unpacking
Open

Fix 5-tuple unpacking error in EvalServicer.Interact()#540
saurabh-net wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
saurabh-net:fix-interact-unpacking

Conversation

@saurabh-net

Copy link
Copy Markdown
Collaborator

In PR #364 (commit fafdb8a), Orchestrator.process() was updated to return a 5th tuple element (multi_trial_scores_tf). While EvalServicer.Eval() was updated to unpack 5 variables, EvalServicer.Interact() was missed and left unpacking 4 variables.

This causes callers of Interact() to fail with:

ValueError: too many values to unpack (expected 4)

This PR updates EvalServicer.Interact() to unpack 5 variables from orchestrator.process(), bringing it into parity with Eval().

@prernakakkar-google

Copy link
Copy Markdown
Collaborator

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants