Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Commit 1e41b73

Browse files
authored
fixed the header=None bug (#64)
1 parent b8c1081 commit 1e41b73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/object_detection/dataset_tools/oid_hierarchical_labels_expansion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def main(parsed_args):
161161
for line in source:
162162
if not header:
163163
target.writelines(line)
164+
header = line
164165
continue
165166
if labels_file:
166167
expanded_lines = expansion_generator.expand_labels_from_csv(line)

0 commit comments

Comments
 (0)