Veyronl
Veyronl
@zyc1310517843 你好,能否提供数据集的Sample,几十个即可,3q! [email protected]
在predict代码前面加上: import keras.backend.tensorflow_backend as tb tb._SYMBOLIC_SCOPE.value = True 可解
num_step应该是序列的长度吧,喝sentencen length应该是一致才行
你好,我也是想改成多分类,想基于二分类把最后一层sigmoid函数改为softmax,在编码label时,我用的tf.one_hot(),其他的输出和w的维度按上面改的; 训练时,出现这样的错误: TypeError: The value of a feed cannot be a tf.Tensor object. Acceptable feed values include Python scalars, strings, lists, numpy ndarrays, or TensorHandles.For reference, the tensor object was...