일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 유가 급등
- 브렉시트
- cv2
- Python
- 블록체인
- TFRecord
- img
- 딥러닝
- Training
- 세계대전
- TF
- 유로화
- TensorFlow
- DataSet
- itksnap
- qtdesigner
- dtype
- terminal
- error
- loss
- 퍼셉트론
- deeplearning
- opencv
- pyqt
- numpy
- Perceptron
- 세계사
- 비트코인
- Inference
- keras
Archives
- Today
- Total
목록img (2)
활연개랑
[Tensorflow] TypeError: Input 'bytes' of 'DecodeRaw' Op has type int64 that does not match expected type of string.
tfrecord를 만들 때 발생하는 에러 TypeError: Input 'bytes' of 'DecodeRaw' Op has type int64 that does not match expected type of string. parsing하는 과정에서 label parsing을 다음과 같이 했을 때 위 오류가 발생했다. label = tf.io.decode_raw(features['train/label'], tf.int64) label = tf.cast(label, tf.int64) 하지만, label에서는 decode_raw를 사용할 필요 없이 label = features['train/label'] 이렇게만 작성해주면 된다.
Python
2022. 4. 8. 10:52