【发布时间】:2021-05-18 17:27:27
【问题描述】:
我正在尝试在 R 中实现 Grad-cam。我遇到了这个错误:
Error in py_call_impl(callable, dots$args, dots$keywords) : RuntimeError: tf.gradients is not supported when eager execution is enabled. Use tf.GradientTape instead.
我在网上找到了一些解决方案,但它们都使用 python。我想知道我们如何在 R 版本的 keras 中解决这个问题。谢谢。
【问题讨论】:
标签: r tensorflow keras