Skip to content

Error in # Save model_1 model_1.save("efficientnet_model_1_10_classes")Β #2

@fiqiamali

Description

@fiqiamali

KeyError: "Failed to add concrete function 'b'__inference_model_1_layer_call_fn_61750'' to object-based SavedModel as it captures tensor <tf.Tensor: shape=(), dtype=resource, value=> which is unsupported or not reachable from root. One reason could be that a stateful object or a variable that the function depends on is not assigned to an attribute of the serialized trackable object (see SaveTest.test_captures_unreachable_variable)."

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