add detail error to dataset

pull/3218/head
WenmuZhou 2021-06-30 12:13:23 +08:00
parent 5e160a5e96
commit 8f81105770
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class SimpleDataSet(Dataset):
data['image'] = img
data['ext_data'] = self.get_ext_data()
outs = transform(data, self.ops)
except Exception as e:
except:
error_meg = traceback.format_exc()
self.logger.error(
"When parsing line {}, error happened with msg: {}".format(