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

about the mil-layer #9

Open
shen-yao opened this issue Oct 8, 2019 · 0 comments
Open

about the mil-layer #9

shen-yao opened this issue Oct 8, 2019 · 0 comments

Comments

@shen-yao
Copy link

shen-yao commented Oct 8, 2019

Would you please help me to solve the problem I encountered when training? Thank you very much!
`
File "/home/test/anaconda3/envs/smy-ab2/lib/python2.7/site-packages/keras/engine/saving.py", line 83, in _serialize_model
model_config['config'] = model.get_config()

File "/home/test/anaconda3/envs/smy-ab2/lib/python2.7/site-packages/keras/engine/network.py", line 860, in get_config
layer_config = layer.get_config()

File "/home/test/abnormal/utl/custom_layers.py", line 94, in get_config
'v_initializer':initializers.serialize(self.V.initializer),

File "/home/test/anaconda3/envs/smy-ab2/lib/python2.7/site-packages/keras/initializers.py", line 496, in serialize
return serialize_keras_object(initializer)

File "/home/test/anaconda3/envs/smy-ab2/lib/python2.7/site-packages/keras/utils/generic_utils.py", line 117, in serialize_keras_object
raise ValueError('Cannot serialize', instance)

ValueError: ('Cannot serialize', <tf.Operation 'alpha/v/Assign' type=Assign>)`

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