如何在 Rstudio 中调试 TensorFlow?

How to debug TensorFlow in Rstudio?

在 R (https://github.com/rstudio/tensorflow) 中使用 TensorFlow 的任何错误都会导致无用的错误:

py_call(属性、参数、关键字)错误:basic_string::_M_replace_aux

有没有办法显示来自 python 的实际错误?

最近针对 R 的 TensorFlow 修复了一个问题,应该在 py 错误消息中添加回溯,请参阅:

https://github.com/rstudio/tensorflow/pull/42