Skip to content

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

@monistan

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'

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