Skip to content

run_bgan does not actually switch to use specified optimizer #11

@julie-jiang

Description

@julie-jiang

In lines 67-70:

if train_iter == 5000:
            print "Switching to user-specified optimizer"
            optimizer_dict = {"disc": dcgan.d_optims_adam,
                                          "gen": dcgan.g_optims_adam}

I believe what you intend to have here is dcgan.d_optims and dcgan.g_optims

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