Skip to content

tGANs - Generator model not compiled? #13

@fotais

Description

@fotais

Thank you for the very interesting tutorial and code concerning tGANs!
I am trying to replicate the example with diabetes csv, but in every epoch I am getting a warning:
WARNING:tensorflow:Compiled the loaded model, but the compiled metrics have yet to be built. model.compile_metrics will be empty until you train or evaluate the model.
when saving the generator model.

Then, on load I get:
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.

Should the g_model be also compiled in the define_generator , before saved in every epoch?

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