-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_nn.py运行结果错误 #19
Comments
例如:藏UPXSGW车牌被识别成:藏PPPPPP |
后面六个字符的识别结果基本是一样的 |
test_nn.py代码如下: gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.4) chars = ["京", "沪", "津", "渝", "冀", "晋", "蒙", "辽", "吉", "黑", "苏", "浙", "皖", "闽", "赣", "鲁", "豫", "鄂", "湘", "粤", "桂", class NormLayer(Layer):
e2e_model = load_model('e2e_model.h5', custom_objects={'NormLayer': NormLayer}) img_path = './train_data.pkl' e2e_predict = e2e_model.predict(img_data[0:5, :, :, :]) def print_trueLabel(num): def print_predictLabel(x): for i in range(5): |
test_nn.py是哪里的? |
想请教一下,我运行create_traindata生成了5000张图片,batch_size是256训练了20轮,但是在运行test_nn.py文件输出的结果却是完全错误的,想请教一下大家有遇到这种情况吗
The text was updated successfully, but these errors were encountered: