问题
在尝试在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的最新版本
1条答案
按热度按时间qlvxas9a1#
嘿,@sizhky,抱歉回复晚了。当你运行官方的mnist示例here时,你是否也遇到了这个错误?