AttributeError: module 'innvestigate' has no attribute 'create_analyzer'
AttributeError: module 'innvestigate' has no attribute 'create_analyzer'
我正在尝试安装 iNNvestigate 来分析我的 CNN 模型。
环境:
- python 3.6
- 喀拉斯 2.2.4
- 张量流 2.1
import innvestigate
analyzer = innvestigate.create_analyzer("gradient", model)
我收到以下错误:
AttributeError: module 'innvestigate' has no attribute 'create_analyzer'
希望你能回答我的问题:)
这取决于您使用的 Tensorflow 版本。
iNNvestiagte 基于 Tensorflow 1.12。安装Tensorflow 1.12后,可以安装iNNvestigate
我正在尝试安装 iNNvestigate 来分析我的 CNN 模型。 环境:
- python 3.6
- 喀拉斯 2.2.4
- 张量流 2.1
import innvestigate
analyzer = innvestigate.create_analyzer("gradient", model)
我收到以下错误:
AttributeError: module 'innvestigate' has no attribute 'create_analyzer'
希望你能回答我的问题:)
这取决于您使用的 Tensorflow 版本。 iNNvestiagte 基于 Tensorflow 1.12。安装Tensorflow 1.12后,可以安装iNNvestigate