Skip to content

absolute_import doesn't work #4

Description

@Surojit88
      1 from __future__ import absolute_import
      2 from tensorflow import *
      3 
      4 from .sg_util import sg_opt
      5 from .sg_main import *

AttributeError: module 'tensorflow' has no attribute 'absolute_import'`

This happens when I try to import sugartensor. Am using TF version 1.5. Can someone please help?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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