Skip to content

Bugs about 'ValueError: Variable W4 already exists, disallowed' when drawing numbers repeatedly  #1

@Wuyou98

Description

@Wuyou98

I got this error about tf when I tried to redraw some numbers, because the graph already exists. So I added tf.reset_default_graph at the beginning of the prediction. It works! So I suggest maybe your project should add this line of code.

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