Advertisement
Guest User

attribiute error in caffe

a guest
Jul 19th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.05 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "C:\Users\mohsen\Anaconda3\envs\firstEnvironment\caffe\net_spec.py", line 189, in _to_pr
  3. oto
  4.     _param_names[self.type_name] + '_param'), k, v)
  5. KeyError: 'Upsample'
  6.  
  7. During handling of the above exception, another exception occurred:
  8.  
  9. Traceback (most recent call last):
  10.   File "training.py", line 215, in <module>
  11.     f.write(str(net_arch.to_proto()))
  12.   File "C:\Users\mohsen\Anaconda3\envs\firstEnvironment\caffe\net_spec.py", line 237, in to_pro
  13. to
  14.     top._to_proto(layers, names, autonames)
  15.   File "C:\Users\mohsen\Anaconda3\envs\firstEnvironment\caffe\net_spec.py", line 121, in _to_pr
  16. oto
  17.     return self.fn._to_proto(layers, names, autonames)
  18.   File "C:\Users\mohsen\Anaconda3\envs\firstEnvironment\caffe\net_spec.py", line 207, in _to_pr
  19. oto
  20.     assign_proto(layer, k, v)
  21.   File "C:\Users\mohsen\Anaconda3\envs\firstEnvironment\caffe\net_spec.py", line 88, in assign_
  22. proto
  23.     is_repeated_field = hasattr(getattr(proto, name), 'extend')
  24. AttributeError: 'LayerParameter' object has no attribute 'scale'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement