ImportError: cannot import name 'abs'

后端 未结 9 1870
我寻月下人不归
我寻月下人不归 2020-12-17 18:42

I got problem while doing object detection using tensorflow-gpu

I was follwing the youtube tutorials :https://www.youtube.com/watch?v=Rgpfk6eYxJA

I\'m trying

9条回答
  •  没有蜡笔的小新
    2020-12-17 19:39

    This worked for me in ubuntu 18.0.4

    pip uninstall tensorflow protobuf --yes
    find $CONDA_PREFIX -name "tensorflow" | xargs -Ipkg rm -rfv pkg
    pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.9.0-cp36-cp36m-linux_x86_64.whl --no-cache-dir
    

    Solution found from GitHub: ImportError: cannot import name 'abs' #20778.

提交回复
热议问题