-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
# deeptraining_hands | ||
|
||
Each of the provided scripts converts one boundingbox annotation format into another. | ||
Each of the provided scripts converts files of a certain boundingbox annotation format into another. | ||
Run one or several scripts to get to your desired training format. | ||
|
||
to get from .mat annotations to a tensorflow runnable .record file run: | ||
mat_to_xml.py | ||
xml_to_csv.py | ||
csv_img_to_tfrecord.py | ||
Example:to get from `.mat` annotations to a tensorflow runnable `.record` file run: | ||
``` | ||
mat_to_xml.py | ||
xml_to_csv.py | ||
csv_img_to_tfrecord.py | ||
``` | ||
|
||
All scripts create/support following folder structure: | ||
. | ||
├── data | ||
│ └── train | ||
| ├── annotations | ||
| ├── mat | ||
| ├── xml | ||
| └── txt | ||
| ├── images | ||
│ ├── eval | ||
| ├── ... | ||
│ | ||
└── model | ||
``` | ||
. | ||
├── data | ||
| ├── train_labels.csv | ||
| ├── eval_labels.csv | ||
| ├── label_map.pbtxt | ||
│ └── train | ||
| ├── annotations | ||
| ├── mat | ||
| ├──file1.mat | ||
| └── ... | ||
| ├── xml | ||
| ├──file1.xml | ||
| └── ... | ||
| └── txt | ||
| ├──file1.txt | ||
| └── ... | ||
| └── images | ||
| ├──file1.jpg | ||
| └── ... | ||
│ ├── eval | ||
| └── ... | ||
│ | ||
└── model | ||
``` |