Skip to content

module 'tensorflow' has no attribute 'placeholder' error #19

Description

@monistan

Hi,
I keep getting stuck on this error when I try to run train.py
What is going on and how can I fix this?
ELI5 please because I'm new at this.

File "train.py", line 557, in
main()
File "train.py", line 388, in main
silence_threshold=args.silence_threshold)
File "~/audio_reader.py", line 64, in init
self.sample_placeholder = tf.placeholder(dtype=tf.float32, shape=None)
AttributeError: module 'tensorflow' has no attribute 'placeholder'

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions