代码语言:javascript复制
Traceback (most recent call last):
File "train.py", line 81, in <module>
import input_data
File "/devdata/AI/DL/tensorflow/tensorflow/examples/speech_commands/input_data.py",
line 35, in <module>
from tensorflow.contrib.framework.python.ops import audio_ops as contrib_audio
ImportError: cannot import name 'audio_ops'
解决办法: sudo pip3 install tf-nightly -i https://pypi.tuna.tsinghua.edu.cn/simple/