Skip to content

AttributeError: 'Model' object has no attribute 'regularizers' #1

@kaixinzuochuxi

Description

@kaixinzuochuxi

Hi, I just tried to run the VAE code you wrote before, which is an amazing work. However a problem occurred when I execute the line 126. It said that 'AttributeError: 'Model' object has no attribute 'regularizers'. ' In your code you use the attribute regularizer in line 57 but you did not define it in encoder or decoder so they do not have the attribute. Could you please tell me more about the attribute and help me handle this question? Millions of thanks!

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