嗨,我正在尝试运行以下代码:
results = m.evaluate(input_fn=lambda: input_fn(df_test), steps=1)
但是我遇到以下错误:
ValueError: Features are incompatible with given information.
Givenfeatures: {'phone_used_time': <tf.Tensor 'Const:0' shape=
(3929,)dtype=string>}, required signatures: {'phone_used_time':
TensorSignature(dtype=tf.int64, shape=TensorShape([Dimension(3929)]),
is_sparse=False)}.
我该怎么办?