waikato-ufdl / wai-annotations-yolo

wai.annotations module for managing YOLO datasets.
https://ufdl.cms.waikato.ac.nz/wai-annotations-manual/
Apache License 2.0
0 stars 0 forks source link

--split-names results in empty top-level dirs #2

Open fracpete opened 2 years ago

fracpete commented 2 years ago

When using --split-names, the output directory will not only contain the images and labels directories (and below the split dirs), but also empty split dirs on the same level. E.g.:

--split-names train val test

will generate in the output dir:

images
  test
  train
  val
labels
  test
  train
  val
test
train
val