We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a6ab44 commit 9e4910eCopy full SHA for 9e4910e
pkg/workloads/tf_api/api.py
@@ -401,7 +401,7 @@ def start(args):
401
402
local_cache["required_inputs"] = tf_lib.get_base_input_columns(model["name"], ctx)
403
404
- if model["input"].get("target_vocab") is not None:
+ if util.is_dict(model["input"]) and model["input"].get("target_vocab") is not None:
405
local_cache["target_vocab_populated"] = ctx.populate_values(
406
model["input"]["target_vocab"], None, False
407
)
0 commit comments