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!')
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!')