python - 如何在 Rstudio 中调试 TensorFlow?

标签 python r tensorflow rstudio

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

py_call(attrib, args, keywords) 错误:basic_string::_M_replace_aux

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

最佳答案

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

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

关于python - 如何在 Rstudio 中调试 TensorFlow?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40913457/

相关文章:

sql - 在 R 中,如何从另一个 data.frame 的一列创建具有唯一值的 data.frame?

python - 在Django中,如何实现一个事务的可重复读?

python - 在Python中添加二维列表中的列

python - 时间有限执行: Loops or Recursion?

r - 在 ddply 汇总之前从数据帧中选择范围(时间戳)

python - 运行时错误 : cuda runtime error (30) : unknown error at torch/csrc/cuda/Module. cpp:32

python - Nextflow 在进程间操作变量

python - 如何读取excel中嵌入的excel并将嵌入文件中的信息存储在主excel文件中?

python - Tensorflow - 值错误 : Shape must be rank 1 but is rank 0 for 'ParseExample/ParseExample'

python - 如何批量写入 TFRecords?