@@ -45,20 +45,28 @@ As an example, we have the following the dataset structure:
4545...
4646` ` `
4747
48+ Then, you can run sanity checks with ` t4sanity < DATA_ROOT> ` :
49+
50+ ` ` ` shell
51+ >>>Sanity checking...: 1it [00:00, 9.70it/s]
52+ ✅ No exceptions occurred!!
53+ ` ` `
54+
4855# ## Exclude Warnings
4956
5057To run sanity check ignoring warnings, providing the path to the parent directory of the datasets:
5158
5259` ` ` shell
5360$ t4sanity < DATA_ROOT>
5461
55- >>> Sanity checking...: 97it [00:03, 26.60it/s]
56- +--------------------------------------+---------+------------------------------------------------------------------------------------------------+
57- | DatasetID | Version | Message |
58- +--------------------------------------+---------+------------------------------------------------------------------------------------------------+
59- | 96200480-ae59-44cb-9e4e-dd9021e250e8 | 2 | bbox must be (xmin, ymin, xmax, ymax) and xmin < = xmax && ymin < = ymax: (1671, 198, 1440, 229) |
60- | ca346afb-ea1a-4c5c-8117-544bd9ff6aca | 2 | bbox must be (xmin, ymin, xmax, ymax) and xmin < = xmax && ymin < = ymax: (1793, 99, 1440, 222) |
61- ...
62+ >>>Sanity checking...: 2it [00:00, 18.69it/s]
63+ ⚠️ Encountered some exceptions!!
64+ +-----------+---------+--------+------------------------------------------------------------------------------------------------+
65+ | DatasetID | Version | status | Message |
66+ +-----------+---------+--------+------------------------------------------------------------------------------------------------+
67+ | dataset1 | 2 | ERROR | bbox must be (xmin, ymin, xmax, ymax) and xmin < = xmax && ymin < = ymax: (1532, 198, 1440, 265) |
68+ | dataset2 | 1 | OK | |
69+ +-----------+---------+--------+------------------------------------------------------------------------------------------------+
6270` ` `
6371
6472# ## Include Warnings
@@ -68,12 +76,12 @@ To run sanity check and report any warnings, use the `-iw; --include-warning` op
6876` ` ` shell
6977$ t4sanity < DATA_ROOT> -iw
7078
71- >>> Sanity checking...: 97it [00:03, 29.31it /s]
72- +--------------------------------------+---------+------------------------------------------------------------------------------------------------+
73- | DatasetID | Version | Message |
74- +--------------------------------------+---------+------------------------------------------------------------------------------------------------+
75- | 96200480-ae59-44cb-9e4e-dd9021e250e8 | 2 | bbox must be (xmin, ymin, xmax, ymax) and xmin < = xmax && ymin < = ymax: (1671, 198, 1440, 229) |
76- | ca346afb-ea1a-4c5c-8117-544bd9ff6aca | 2 | bbox must be (xmin, ymin, xmax, ymax) and xmin < = xmax && ymin < = ymax: (1793, 99 , 1440, 222) |
77- | ed96b707-e7f4-4a71-9e6b-571ffd56c4c4 | 2 | level: Not available is not supported, Visibility.UNAVAILABLE will be assigned. |
78- ...
79+ >>>Sanity checking...: 2it [00:00, 21.54it /s]
80+ ⚠️ Encountered some exceptions !!
81+ +-----------+---------+---------+------------------------------------------------------------------------------------------------+
82+ | DatasetID | Version | status | Message |
83+ +-----------+---------+---------+------------------------------------------------------------------------------------------------+
84+ | dataset1 | 2 | ERROR | bbox must be (xmin, ymin, xmax, ymax) and xmin < = xmax && ymin < = ymax: (1532, 198 , 1440, 265) |
85+ | dataset2 | 1 | WARNING | Category token is empty for surface ann: 0c15d9c143fb2723c16ac7e0c735b0a8 |
86+ +-----------+---------+---------+------------------------------------------------------------------------------------------------+
7987` ` `
0 commit comments