You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
issue description:
score = model_inst.evaluate(val_dataset_path) # this is not 'float' type
if not isinstance(score, float):
raise Exception('evaluate() should return a float!') # will raise this ERROR
suggestion:
score = float(model_inst.evaluate(val_dataset_path)) # to make it 'float' type
if not isinstance(score, float):
raise Exception('evaluate() should return a float!')
The text was updated successfully, but these errors were encountered:
issue description:
score = model_inst.evaluate(val_dataset_path) # this is not 'float' type
if not isinstance(score, float):
raise Exception('
evaluate()
should return a float!') # will raise this ERRORsuggestion:
score = float(model_inst.evaluate(val_dataset_path)) # to make it 'float' type
if not isinstance(score, float):
raise Exception('
evaluate()
should return a float!')The text was updated successfully, but these errors were encountered: