" UserWarning:无法检索输入.可能是因为一名工人死亡.我们没有有关丢失样本的任何信息." [英] "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."

查看:274
本文介绍了" UserWarning:无法检索输入.可能是因为一名工人死亡.我们没有有关丢失样本的任何信息."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在训练模型时,我收到以下警告:用户警告:无法检索到输入.可能是由于工人死亡.我们对丢失的样品没有任何信息.)",显示此警告后,模型开始训练.此警告是什么意思?这会影响我的训练吗?我需要担心吗?

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

这篇关于" UserWarning:无法检索输入.可能是因为一名工人死亡.我们没有有关丢失样本的任何信息."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆