Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Merge pull request #909 from lukeyeager/od-numerical-ids
Browse files Browse the repository at this point in the history
ObjectDetection docs - use numerical identifiers
  • Loading branch information
lukeyeager authored Jul 15, 2016
2 parents af1156f + fa0e8f3 commit bbbb4ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions digits/extensions/data/objectDetection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ When preparing your own data for ingestion into a dataset, you must follow the s

You should have one folder containing images, and another folder containing labels.

* Image filenames are formatted like `IDENTIFIER.EXTENSION` (e.g. `000001.png` or `foo.jpg`).
* Label filenames are formatted like `IDENTIFIER.txt` (e.g. `000001.txt` or `foo.txt`).
* Image filenames are formatted like `IDENTIFIER.EXTENSION` (e.g. `000001.png` or `2.jpg`).
* Label filenames are formatted like `IDENTIFIER.txt` (e.g. `000001.txt` or `2.txt`).

These identifiers need to match.
So, if you have a `foo.png` in your image directory, there must to be a corresponding `foo.txt` in your labels directory.
So, if you have a `1.png` in your image directory, there must to be a corresponding `1.txt` in your labels directory.

If you want to include validation data, then you need separate folders for validation images and validation labels.
A typical folder layout would look something like this:
Expand Down

0 comments on commit bbbb4ff

Please sign in to comment.