Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Getting a 'initial_value must be specified' ValueError #6

@bfan1256

Description

@bfan1256

Trying to load model for production predictions with the code:

from keras_dec import ClusteringLayer
from keras.models import load_model
model = load_model('./DEC.model', custom_objects={'ClusteringLayer': ClusteringLayer})
...

This is not working and producing:
ValueError: initial_value must be specified.
This error is referring to line #64 in keras_dec.py
What is the issue?

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