Open Wentao795 opened 5 years ago
Have you solved this problem?I had the same problem.
I checked if the worker raises any exceptions, ending the 4 workers and not generating any more batch
src/utils.py
def batch_queue_worker(seed):
np.random.seed(seed)
while True:
try:
batch = self.get_batch(config.batch_size, config.batch_format)
if batch is not None:
batch['image_paths'] = batch['images']
batch['images'] = preprocess(batch['image_paths'], config, is_training)
self.batch_queue.put(batch)
except Exception as e:
print(e)
Have you solved this problem?I had the same problem.
朋友你解决了吗?交流一下
你好,我之前向作者问过,作者给了我以下答复: seems like your batch_queue is not defined there (it's None). You need to initialize the queue. 我后面不做人脸识别了,就没有继续修改。
15732072757 | |
---|---|
15732072757@163.com | 签名由网易邮箱大师定制 On 11/12/2019 09:51,Leonliounotifications@github.com wrote:
Have you solved this problem?I had the same problem.
朋友你解决了吗?交流一下
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi: @seasonSH Yichun thank you for your work .i trained the base model,how can i do?