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

AttributeError: 'InputLayer' object has no attribute 'outbound_nodes' #8

Open
cpoptic opened this issue Oct 3, 2018 · 1 comment
Open

Comments

@cpoptic
Copy link

cpoptic commented Oct 3, 2018

running >> python Fashion_Train.py
produces the following error:

Using TensorFlow backend.
Traceback (most recent call last):
File "Fashion_Train.py", line 124, in
model = RFCN_Model(mode="training", config=config, model_dir=os.path.join(ROOT_DIR, "logs") )
File "/data/repos/Keras-RFCN/KerasRFCN/Model/Model.py", line 42, in init
self.keras_model = self.build(mode=mode, config=config)
File "/data/repos/Keras-RFCN/KerasRFCN/Model/Model.py", line 77, in build
P2, P3, P4, P5, P6 = ResNet(input_image, architecture=config.BACKBONE).output_layers
File "/data/repos/Keras-RFCN/KerasRFCN/Model/ResNet.py", line 23, in init
self.construct_graph(input_tensor)
File "/data/repos/Keras-RFCN/KerasRFCN/Model/ResNet.py", line 28, in construct_graph
x = KL.ZeroPadding2D((3, 3))(input_tensor)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 796, in call
inputs, outputs, args, kwargs)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 908, in set_connectivity_metadata
input_tensors=inputs, output_tensors=outputs, arguments=kwargs)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1089, in _add_inbound_node
arguments=arguments)
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1760, in init
layer.outbound_nodes.append(self)
AttributeError: 'InputLayer' object has no attribute 'outbound_nodes'

@chengjaun
Copy link

Now I have the same error, have you solved this 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