TypeError: array has type numpy.ndarray, but expected one of: int, long, float

前端 未结 0 1095
再見小時候
再見小時候 2020-12-30 09:57

This error occurs when I write the data as a FLOAT of TFRECORD

TFRecords_tar = tar_signal.astype(np.float32)
tar_list = tf.train.FloatList(value = [TFRecords_         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题