module 'tensorflow_core._api.v2.train' has no attribute 'slice_input_producer'
tensorflow版本不对卸载重新安装
pip uninstall tensorflow
我之前是2.1.0的版本,然后重装的1.5.0,没有再报这个错误
pip install tensorflow==1.5.0
module 'tensorflow_core._api.v2.train' has no attribute 'slice_input_producer'
tensorflow版本不对卸载重新安装
pip uninstall tensorflow
我之前是2.1.0的版本,然后重装的1.5.0,没有再报这个错误
pip install tensorflow==1.5.0