Skip to content

ValueError: Variable d_wconv1/Adam_1/.... Tensorflow 1.2 needs tf.variable_scope()? #5

@nealmcb

Description

@nealmcb

On line:

trainerD = tf.train.AdamOptimizer().minimize(d_loss, var_list=d_vars)

I get

ValueError: Variable d_wconv1/Adam_1/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?

This is using Tensorflow 1.2.0, on a Databricks Community Edition notebook.

This issue for another GAN implementation looks relevant, and some code updates for it are available: carpedm20/DCGAN-tensorflow#66

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions