【发布时间】:2018-10-30 22:49:02
【问题描述】:
我使用谷歌 colab (python3 GPU)
例如,我想运行this repo codes,但在这些行中运行演示 ipynb 时出现错误:
import tensorflow as tf
from layers import (_causal_linear, _output_linear, conv1d, dilated_conv1d)
当我运行这两行时,我有一个错误“没有模块层”
我不认为这是一个错误或什么,因为这个 repo 有超过 1000 颗星。 我认为这是一个 tf 版本的问题。
有什么办法解决这个问题吗?
【问题讨论】:
-
该库需要什么版本的 TensorFlow? Colab 始终使用 TensorFlow 的最新稳定版本(当前为 1.12),因此库可能需要更新以支持最新版本的 TensorFlow。
标签: tensorflow google-colaboratory