Skip to content
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

大佬好,请问keras版本号多少.. #12

Open
zhaoyulu opened this issue Nov 8, 2019 · 0 comments
Open

大佬好,请问keras版本号多少.. #12

zhaoyulu opened this issue Nov 8, 2019 · 0 comments

Comments

@zhaoyulu
Copy link

zhaoyulu commented Nov 8, 2019

Tensor("Placeholder:0", shape=(?, ?, ?, 3), dtype=float32)
Tensor("conv5_3/conv5_3:0", shape=(?, ?, ?, 512), dtype=float32)
Tensor("rpn_conv/3x3/rpn_conv/3x3:0", shape=(?, ?, ?, 512), dtype=float32)
Tensor("lstm_o/Reshape_2:0", shape=(?, ?, ?, 512), dtype=float32)
Tensor("lstm_o/Reshape_2:0", shape=(?, ?, ?, 512), dtype=float32)
Tensor("rpn_cls_score/Reshape_1:0", shape=(?, ?, ?, 20), dtype=float32)
Tensor("rpn_cls_prob:0", shape=(?, ?, ?, ?), dtype=float32)
Tensor("Reshape_2:0", shape=(?, ?, ?, 20), dtype=float32)
Tensor("rpn_bbox_pred/Reshape_1:0", shape=(?, ?, ?, 40), dtype=float32)
Tensor("Placeholder_1:0", shape=(?, 3), dtype=float32)
2019-11-08 09:57:43.611347: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Tensor_name is : rpn_conv/3x3/biases
Tensor_name is : rpn_cls_score/weights
Tensor_name is : rpn_bbox_pred/biases
Tensor_name is : lstm_o/weights
Tensor_name is : lstm_o/bidirectional_rnn/fw/lstm_cell/bias
Tensor_name is : lstm_o/bidirectional_rnn/bw/lstm_cell/kernel
Tensor_name is : lstm_o/bidirectional_rnn/bw/lstm_cell/bias
Tensor_name is : conv5_3/weights
Tensor_name is : conv5_3/biases
Tensor_name is : lstm_o/biases
Tensor_name is : conv5_2/weights
Tensor_name is : conv2_2/weights
Tensor_name is : conv1_1/weights
Tensor_name is : conv4_2/weights
Tensor_name is : conv2_2/biases
Tensor_name is : conv2_1/biases
Tensor_name is : conv1_2/weights
Tensor_name is : conv4_1/biases
Tensor_name is : conv2_1/weights
Tensor_name is : rpn_cls_score/biases
Tensor_name is : conv1_2/biases
Tensor_name is : rpn_conv/3x3/weights
Tensor_name is : conv3_1/weights
Tensor_name is : conv4_3/weights
Tensor_name is : conv3_2/biases
Tensor_name is : rpn_bbox_pred/weights
Tensor_name is : conv3_2/weights
Tensor_name is : lstm_o/bidirectional_rnn/fw/lstm_cell/kernel
Tensor_name is : conv3_3/biases
Tensor_name is : conv5_2/biases
Tensor_name is : conv5_1/weights
Tensor_name is : conv3_3/weights
Tensor_name is : conv4_1/weights
Tensor_name is : conv1_1/biases
Tensor_name is : conv4_2/biases
Tensor_name is : conv3_1/biases
Tensor_name is : conv4_3/biases
Tensor_name is : conv5_1/biases
load vggnet done
Using TensorFlow backend.
Traceback (most recent call last):
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/zhaoyulu/web/chinese_ocr/model.py", line 16, in
from ocr.model import predict as ocr
File "/home/zhaoyulu/web/chinese_ocr/ocr/model.py", line 8, in
import keras.backend as K
File "/usr/local/lib/python3.6/dist-packages/keras/init.py", line 3, in
from . import utils
File "/usr/local/lib/python3.6/dist-packages/keras/utils/init.py", line 6, in
from . import conv_utils
File "/usr/local/lib/python3.6/dist-packages/keras/utils/conv_utils.py", line 9, in
from .. import backend as K
File "/usr/local/lib/python3.6/dist-packages/keras/backend/init.py", line 1, in
from .load_backend import epsilon
File "/usr/local/lib/python3.6/dist-packages/keras/backend/load_backend.py", line 90, in
from .tensorflow_backend import *
File "/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py", line 54, in
get_graph = tf_keras_backend.get_graph
AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'

方便的话请尽量多包的版本号,十分感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant