Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Prettytensor not working with TF1.8 #62

@YutingZhang

Description

@YutingZhang

After upgrading to TF1.8, prettytensor stopped working with the following error. It seems _VARSCOPE_KEY is removed from variable_scope.

.../lib/python3.6/site-packages/prettytensor/scopes.py in var_and_name_scope(names)
53 full_name = var_scope.name
54
---> 55 vs_key = tf.get_collection_ref(variable_scope._VARSCOPE_KEY)
56 try:
57 # TODO(eiderman): Remove this hack or fix the full file.

AttributeError: module 'tensorflow.python.ops.variable_scope' has no attribute '_VARSCOPE_KEY'

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