Skip to content

Issue found on chapter 5 (clustering) #13

Description

@rezacsedu

When I executed, the audio_clustering.py script, I got the following error:

FailedPreconditionError (see above for traceback): Attempting to use uninitialized value matching_filenames
[[Node: matching_filenames/read = IdentityT=DT_STRING, _class=["loc:@matching_filenames"], _device="/job:localhost/replica:0/task:0/cpu:0"]]

To solve this, I had to make the following changes:

  1. I had to initialize the local variables using tf.local_variables_initializer()
  2. Then I had to install/downgrade to numpy 1.11.0 using sudo pip install -U numpy==1.11.0

Maybe you can keep this note in your codes as well.

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