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: 'Node' object has no attribute 'output_masks' #84

Open
danilosouza1896 opened this issue Nov 27, 2021 · 1 comment
Open

Comments

@danilosouza1896
Copy link

I'm trying to train my dataset, but the application has returned a problem:

I'm using simple parser

Traceback (most recent call last):
File "train_frcnn.py", line 130, in
shared_layers = nn.nn_base(img_input, trainable=True)
File "/home/user/projetotcc/keras_frcnn/resnet.py", line 176, in nn_base
x = ZeroPadding2D((3, 3))(img_input)
File "/home/user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/keras/engine/base_layer.py", line 443, in call
previous_mask = _collect_previous_mask(inputs)
File "/home/user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/keras/engine/base_layer.py", line 1311, in _collect_previous_mask
mask = node.output_masks[tensor_index]
AttributeError: 'Node' object has no attribute 'output_masks'

@So-dal
Copy link

So-dal commented Nov 30, 2021

Hi, I got the same issue when I try to run the model on tf-gpu 2, but if I use tf-gpu 1.13 or 1.14 it's OK. Which version of tensorflow do you use ?

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