Skip to content

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

@lipanpeng

Description

@lipanpeng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions