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

'Tensor' object has no attribute '_keras_history' #16

Open
lipanpeng opened this issue Sep 25, 2020 · 1 comment
Open

'Tensor' object has no attribute '_keras_history' #16

lipanpeng opened this issue Sep 25, 2020 · 1 comment

Comments

@lipanpeng
Copy link

I take resnest as backbone in instance segmentation. However when trained model on my dataset, I got this error.

File "/usr/local/lib/python3.6/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/keras/engine/topology.py", line 1732, in __init__ build_map_of_graph(x, finished_nodes, nodes_in_progress) File "/usr/local/lib/python3.6/dist-packages/keras/engine/topology.py", line 1722, in build_map_of_graph layer, node_index, tensor_index) File "/usr/local/lib/python3.6/dist-packages/keras/engine/topology.py", line 1722, in build_map_of_graph layer, node_index, tensor_index) File "/usr/local/lib/python3.6/dist-packages/keras/engine/topology.py", line 1722, in build_map_of_graph layer, node_index, tensor_index) [Previous line repeated 11 more times] File "/usr/local/lib/python3.6/dist-packages/keras/engine/topology.py", line 1693, in build_map_of_graph layer, node_index, tensor_index = tensor._keras_history AttributeError: 'Tensor' object has no attribute '_keras_history'

my environment:
tensorflow-gpu 1.14.0
keras 2.1.3

@QiaoranC
Copy link
Owner

sorry for the late reply, i test it under tf 1.15, so it seems 1.14 problem.

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

2 participants