Skip to content

Error when converting with Scale layer #55

Open
@zihangJiang

Description

@zihangJiang

Traceback (most recent call last):
File "caffe2keras.py", line 49, in
main(arguments)
File "caffe2keras.py", line 35, in main
debug=args.debug)
File "/home/jzh/kk/keras/caffe/convert.py", line 44, in caffe_to_keras
tuple(input_dim[1:]), debug)
File "/home/jzh/kk/keras/caffe/convert.py", line 373, in create_model
net_node[layer_nb] = Scale(axis=axis, name=name)(input_layers)
File "/home/jzh/kk/keras/layers/normalization.py", line 85, in init
self.beta_init = initializations.get(beta_init)
NameError: global name 'initializations' is not defined
I wonder if there is something I should add cause I did not find the (../initializations.md) mentioned in normalization.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions