摘要:
```python3
import tensorflow as tf
import numpy as np
from keras.utils import to_categorical
import sys def tfrecord2array(path_res): imgs = [] lbls = [] # print('tfrecords_files to be t... 阅读全文
摘要:
``` 注意和前一或二篇Lenet训练并验证的文章从 起的不同 部分函数请参照前后2篇文章 import tensorflow as tf import tfrecords2array import numpy as np from keras.utils import to_categorical 阅读全文
摘要:
```python3
import os
import shutil
import tensorflow as tf
import time
import sys
import cv2 # 图片存放位置
PATH_RES = [ r'data_tfrecords/integers_tfrecords/train.tfrecords', r'data_tfrecords/inte... 阅读全文
摘要:
```python3
# 部分函数请参考前一篇或后一篇文章
import tensorflow as tf
import tfrecords2array
import numpy as np
import matplotlib.pyplot as plt
from collections import OrderedDict def lenet(char_classes): y_tr... 阅读全文
摘要:
```python3 import numpy as np import tensorflow as tf import time import os import cv2 from sklearn.utils import shuffle # 图片存放位置 PATH_DES = [ r'data_tfrecords/integers_tfrecords/', r'data_t... 阅读全文