This commit is contained in:
@@ -136,6 +136,7 @@ class SimpleDataSet(Dataset):
|
|||||||
data["filename"] = data["img_path"]
|
data["filename"] = data["img_path"]
|
||||||
outs = transform(data, self.ops)
|
outs = transform(data, self.ops)
|
||||||
except:
|
except:
|
||||||
|
print(data_line)
|
||||||
self.logger.error(
|
self.logger.error(
|
||||||
"When parsing line {}, error happened with msg: {}".format(
|
"When parsing line {}, error happened with msg: {}".format(
|
||||||
data_line, traceback.format_exc()
|
data_line, traceback.format_exc()
|
||||||
|
|||||||
Reference in New Issue
Block a user