ImportError: cannot import name 'abs'

后端 未结 9 1859
我寻月下人不归
我寻月下人不归 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:37

    It seems to be a problem if there is a previous installation of tensorflow available. These steps seems to solve the problem.

    1) uninstalling tensorflow 2) uninstalling protobuf 3) reinstalling tensorflow (which should come along with the correct protobuf version.

    Also need to go to

    C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\Lib\site-packages
    

    and delete all tensorflow related folders

    Source : https://github.com/tensorflow/tensorflow/issues/20778

提交回复
热议问题