Closed hoangthangta closed 2 years ago
I had this error when inferring the inputs: NameError: name 'decode_predictions' is not defined.
pred = predict_bert_multitask( problem = problem, inputs = inputs, model_dir = model.params.ckpt_dir, problem_type_dict = problem_type_dict, processing_fn_dict = processing_fn_dict, decode_prediction = True #return_model = True )
How to fix, thank!
This is a bug. Thanks for reporting.
I had this error when inferring the inputs: NameError: name 'decode_predictions' is not defined.
How to fix, thank!