"用户警告:无法检索输入.这可能是因为一名工人已经死亡.我们没有关于丢失样本的任何信息."

问题描述:

在训练模型时,我收到此警告用户警告:无法检索输入.这可能是因为工人已经死亡.我们没有关于丢失样本的任何信息.)",显示此警告后,模型启动训练.这个警告是什么意思?是否会影响我的训练而我需要担心?

While training model I got this warning "UserWarning: An input could not be retrieved. It could be because a worker has died.We do not have any information on the lost sample.)", after showing this warning, model starts training. What does this warning means? Is it something that will affect my training and I need to worry about?

这只是一个用户警告,当您在训练期间尝试获取输入、目标时通常会抛出该警告.这是因为为队列机制设置了超时,该机制将在 data_utils.py 中指定.

This is just a user warning that will be usually thrown when you try to fetch the inputs,targets during training. This is because a timeout is set for the queuing mechanism which will be specified inside the data_utils.py.

有关更多详细信息,您可以参考 data_utils.py 文件,该文件位于 keras/utils 文件夹中.

For more details you can refer the data_utils.py file which will be inside the keras/utils folder.

https://github.com/keras-team/keras/blob/master/keras/utils/data_utils.py