AttributeError: 'LayerParameter' object has no attribute 'source'

36 views
Skip to first unread message

parul bansal

unread,
Jul 19, 2017, 11:27:03 AM7/19/17
to Caffe Users
  File "finetune1.py", line 397, in <module>

  File "finetune1.py", line 214, in main
    #########################################
  File "finetune1.py", line 57, in def_lstm_2_layer

  File "/home/himanshu/Documents/intern/deepdiary/python/caffe/net_spec.py", line 194, in to_proto
    top._to_proto(layers, names, autonames)
  File "/home/himanshu/Documents/intern/deepdiary/python/caffe/net_spec.py", line 105, in _to_proto
    return self.fn._to_proto(layers, names, autonames)
  File "/home/himanshu/Documents/intern/deepdiary/python/caffe/net_spec.py", line 166, in _to_proto
    assign_proto(layer, k, v)
  File "/home/himanshu/Documents/intern/deepdiary/python/caffe/net_spec.py", line 68, in assign_proto
    is_repeated_field = hasattr(getattr(proto, name), 'extend')
AttributeError: 'LayerParameter' object has no attribute 'source'

Could anyone help me with this?
I appreciate your help!

Reply all
Reply to author
Forward
0 new messages