TypeError: expected bytes, Descriptor found

后端 未结 4 1001
甜味超标
甜味超标 2021-01-01 07:07

How do I fix the following error traceback regarding tf.record?

(tensorflow1) c:\\tensorflow1\\models\\re         


        
相关标签:
4条回答
  • 2021-01-01 07:14

    I get the same error when I installed tensorflow with conda install -c anaconda tensorflow-gpu over existing tenforflow.

    Remove existing environment and create a new one. Then run conda install -c anaconda tensorflow-gpu .

    0 讨论(0)
  • 2021-01-01 07:16

    Try this, worked for me

    pip install protobuf-py3
    pip install --upgrade protobuf
    
    0 讨论(0)
  • 2021-01-01 07:25

    In my case,

    pip install --ignore-installed --upgrade tensorflow-gpu==1.15.0

    did the job :).

    0 讨论(0)
  • 2021-01-01 07:38

    Probably it's due to unmatched tensorflow and tensorboard versions.

    I solved it after creating a separate conda environment for my code.

    0 讨论(0)
提交回复
热议问题