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