ludwig REFS_OK标志未启用

mkh04yzy  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(26)

问题

在尝试在Colab中训练MNIST时,我遇到了上面的错误。以下是最后的堆栈跟踪-

File "/usr/local/lib/python3.7/dist-packages/ludwig/utils/data_utils.py", line 368, in save_array
    for x in np.nditer(array):
TypeError: Iterator operand or requested dtype holds references, but the REFS_OK flag was not enabled

重现

运行这个笔记本 - https://gist.github.com/sizhky/adac2821f76335cb0f72592ab332673a

环境(请填写以下信息):

  • Google Colab的最新版本
qlvxas9a

qlvxas9a1#

嘿,@sizhky,抱歉回复晚了。当你运行官方的mnist示例here时,你是否也遇到了这个错误?

相关问题