对于NLP任务,我的输入数据集被转换为如下所示:整数列表。特征和标签是相同的数据集。TypeError: Cannot convert a symbolic Keras input/output to a numpy array.This error may indicate that you're trying to pass a symbolic value to a NumPy call, epochs=1, ca
(optimizer=optimizer, loss=[relativistic_discriminator_loss,None])
return model 但是当我执行代码时,我得到了这个错误: Cannot convert a symbolic Keras input/output to a numpy array.Or, you may be trying to pass Keras symbolic inputs/outputs to a TF API that does not re