AttributeError: module ‘paddle‘ has no attribute ‘batch‘ 解决办法

AttributeError: module ‘paddle’ has no attribute ‘batch’ 解决办法

问题:AttributeError: module ‘paddle’ has no attribute ‘batch’
解决办法:

  • 卸载padle:
pip uninstall paddlepaddle
  • 重新安装:
python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple

参考链接:https://www.jianshu.com/p/54f3a02e351b

你可能感兴趣的:(Linux,环境配置,解决方案,opencv,自动驾驶,c++)