DBNet.pytorch icon indicating copy to clipboard operation
DBNet.pytorch copied to clipboard

data loader错误处理

Open lck1201 opened this issue 5 years ago • 0 comments

https://github.com/WenmuZhou/DBNet.pytorch/blob/678b2ae55e018c6c16d5ac182558517a154a91ed/base/base_dataset.py#L53

作者你好,请问__getitem__函数里,我理解是,如果出错,就重新选一张图,直到没出错为止。为什么要这么做呢?有哪些潜在的出错?

训练的时候,偶然且不规律会在这里报错,请问是为什么呢

https://github.com/WenmuZhou/DBNet.pytorch/blob/master/data_loader/modules/make_border_map.py#L51 IndexError: list index out of range

lck1201 avatar Oct 26 '20 12:10 lck1201