运行Bazel脚本进行Skipthoughts模型训练时,tensorflow模块上出现ImportError

2024-06-28 19:29:05 发布

您现在位置:Python中文网/ 问答频道 /正文

使用安装在Python.4.4和Python.4.4中的tensori。我坚持使用这个Bazel脚本来预处理文本数据集,以便进行培训,即在link的这一部分。在

# Run the preprocessing script.
bazel-bin/skip_thoughts/data/preprocess_dataset \
  --input_files=${INPUT_FILES} \
  --output_dir=${DATA_DIR}

我得到这个错误

^{pr2}$

只有在运行Bazel脚本时才会出现错误,否则tensorflow就可以正常工作。如有任何关于可能出错的建议,我们将不胜感激!在


Tags: the数据run文本脚本bin错误link