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

TypeError #79

Open
ghost opened this issue Aug 10, 2020 · 1 comment
Open

TypeError #79

ghost opened this issue Aug 10, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 10, 2020

python3 create_enet_prototxt.py --source /ENet/dataset/train_fine_cityscapes.txt --mode train_encoder
Traceback (most recent call last):
File "create_enet_prototxt.py", line 284, in
network, prev_layer = bottleneck(n, prev_layer, 1, 0, 64, 'downsampling') # stage, number_bottleneck, num_input,
File "create_enet_prototxt.py", line 210, in bottleneck
return n.to_proto(), last_layer
File "/ENet/caffe-enet/python/caffe/net_spec.py", line 189, in to_proto
top._to_proto(layers, names, autonames)
File "/ENet/caffe-enet/python/caffe/net_spec.py", line 97, in _to_proto
return self.fn._to_proto(layers, names, autonames)
File "/ENet/caffe-enet/python/caffe/net_spec.py", line 156, in _to_proto
_param_names[self.type_name] + '_param'), k, v)
File "/ENet/caffe-enet/python/caffe/net_spec.py", line 79, in assign_proto
setattr(proto, name, val)
TypeError: 16.0 has type float, but expected one of: int, long

@crazygeek22
Copy link

Refer to this, master...crazygeek22:patch-1. This will resolve your error.

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

1 participant