Skip to content

Commit e6b0a25

Browse files
authored
Explicit default arguments (#28)
1 parent e30667d commit e6b0a25

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

general_json2yolo.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,9 @@ def delete_dsstore(path='../datasets'):
384384
source = 'COCO'
385385

386386
if source == 'COCO':
387-
convert_coco_json('../datasets/coco/annotations', False, True) # directory with *.json
387+
convert_coco_json('../datasets/coco/annotations', # directory with *.json
388+
use_segments=True,
389+
cls91to80=True)
388390

389391
elif source == 'infolks': # Infolks https://infolks.info/
390392
convert_infolks_json(name='out',

0 commit comments

Comments
 (0)