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

File "python/resnet_generator.py", line 21, in add_conv_layer conv_layer.bottom._values.append(bottom) AttributeError: 'google.protobuf.pyext._message.RepeatedScalarConta' object has no attribute '_values' #28

Open
chowkamlee81 opened this issue Apr 20, 2018 · 3 comments

Comments

@chowkamlee81
Copy link

When trying to execute
python python/resnet_generator.py --net_template examples/cifar10/resne
t_template.prototxt --n 3 --force_regularization

got the error below:

Traceback (most recent call last):
File "python/resnet_generator.py", line 281, in
add_conv_layer(net_msg,name='conv1',bottom='data',num_output=16,pad=1,kernel_size=3,stride=1,connectivity_mode=connectivity_mode)
File "python/resnet_generator.py", line 21, in add_conv_layer
conv_layer.bottom._values.append(bottom)
AttributeError: 'google.protobuf.pyext._message.RepeatedScalarConta' object has no attribute '_values'

Kindly suggest how to go ahead

@wenwei202
Copy link
Owner

Seems the protobuf goes wrong. You may check if you have multiple versions of protobuf installed and try to remove one.

@HKLee2040
Copy link

I met the same problem. May I know which version do you use?

@wenwei202
Copy link
Owner

@HKLee2040 I am not sure. May be 2.4. Please check if you have multiple protobuf versions installed and uninstall some.

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

3 participants