Skip to content

'module' object has no attribute 'SummaryWriter' #10

Open

Description

@vinayakumarr

The code (w2gm_text8_2s.visualize_embeddings()) in Analyze Text8 Model.ipynb generates the following error.

376                 saver = tf.train.Saver()
377                 saver.save(session, os.path.join(emb_logdir, "model.ckpt"), 0)
378                 summary_writer = tf.summary.FileWriter(emb_logdir, session.g)
379                 config = projector.ProjectorConfig()
380                 embedding = config.embeddings.add()

Actually, the original code contains the tf.train.SummaryWriter. When I ran this, I am getting the same error. So I have changed into FileWriter. For this also, the program outputs the same error.

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